Skip to content

Commit

Permalink
fixed problem with replays in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamAtomic committed May 3, 2011
1 parent 43e2de3 commit 0fa2087
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions org/flixel/FlxGame.as
Original file line number Diff line number Diff line change
Expand Up @@ -562,14 +562,16 @@ package org.flixel
_replayCallback = null;
}
}
_debugger.vcr.updateRuntime(_step);
if(_debugger != null)
_debugger.vcr.updateRuntime(_step);
}
else
FlxG.updateInput();
if(_recording)
{
_replay.recordFrame();
_debugger.vcr.updateRuntime(_step);
if(_debugger != null)
_debugger.vcr.updateRuntime(_step);
}
update();
FlxG.mouse.wheel = 0;
Expand Down

0 comments on commit 0fa2087

Please sign in to comment.