Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Also fix minimap engagements.
  • Loading branch information
nickelsen committed Apr 20, 2016
commit 29995cb9bb8ec0543d982dcfa1b22125b4383d42
7 changes: 6 additions & 1 deletion app/assets/javascripts/angular/directives/matchmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ gg.directive('matchmap', [function() {
scope.context.lineWidth = 2;


nowIndex = Math.floor(999.0 * v / (scope.match.duration_seconds * 16));
speed_multiplier = 1;
if (scope.$parent.match.expansion_tag == 'LotV') {
speed_multiplier = Sc2.LOTV_SPEEDUP;
}

nowIndex = Math.floor(999.0 * v / (scope.match.duration_seconds * 16 * speed_multiplier));
if (!scope.match.camera) return;
cameraInfo = scope.match.camera[0];
if (scope.match.locations)
Expand Down