Skip to content

Commit

Permalink
Fix map times
Browse files Browse the repository at this point in the history
  • Loading branch information
fatalis committed Sep 4, 2015
1 parent 8ca0d1c commit 7b73e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SourceSplitComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ void gameMemory_OnMapChanged(object sender, MapChangedEventArgs e)

// prevent adding map time twice
if (_timer.CurrentState.CurrentPhase != TimerPhase.Ended && _timer.CurrentState.CurrentPhase != TimerPhase.NotRunning)
this.AddMapTime(e.PrevMap, TimeSpan.FromSeconds(_totalMapTicks));
this.AddMapTime(e.PrevMap, TimeSpan.FromSeconds(_totalMapTicks * _intervalPerTick));
_totalMapTicks = 0;
}

Expand Down

0 comments on commit 7b73e03

Please sign in to comment.