Skip to content

Commit

Permalink
Fix the elapsed time in game time Tick.
Browse files Browse the repository at this point in the history
  • Loading branch information
kjpou1 committed Feb 7, 2012
1 parent fe40310 commit 0dc067a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MonoGame.Framework/Game.cs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ public void Tick()
max = max <= 0 ? 1 : max; //Make sure at least 1 update is called

//Setup
_gameTime.ElapsedGameTime = TargetElapsedTime;
_gameTime.Update(TargetElapsedTime);

while (_totalTime >= TargetElapsedTime)
{
Expand Down

0 comments on commit 0dc067a

Please sign in to comment.