Skip to content

Commit 29995cb

Browse files
committed
Also fix minimap engagements.
1 parent f9d40cc commit 29995cb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app/assets/javascripts/angular/directives/matchmap.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@ gg.directive('matchmap', [function() {
4444
scope.context.lineWidth = 2;
4545

4646

47-
nowIndex = Math.floor(999.0 * v / (scope.match.duration_seconds * 16));
47+
speed_multiplier = 1;
48+
if (scope.$parent.match.expansion_tag == 'LotV') {
49+
speed_multiplier = Sc2.LOTV_SPEEDUP;
50+
}
51+
52+
nowIndex = Math.floor(999.0 * v / (scope.match.duration_seconds * 16 * speed_multiplier));
4853
if (!scope.match.camera) return;
4954
cameraInfo = scope.match.camera[0];
5055
if (scope.match.locations)

0 commit comments

Comments
 (0)