mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04:00
Fixed skipping through real-time playback to fire when the final goals are actually ready.
This commit is contained in:
parent
3cdb8ff416
commit
0c09a468c7
1 changed files with 1 additions and 1 deletions
|
@ -604,7 +604,7 @@ module.exports = class PlayLevelView extends RootView
|
|||
if finishedLoading
|
||||
@lastWorldFramesLoaded = 0
|
||||
if @waitingForSubmissionComplete
|
||||
@onSubmissionComplete()
|
||||
_.defer @onSubmissionComplete # Give it a frame to make sure we have the latest goals
|
||||
@waitingForSubmissionComplete = false
|
||||
else
|
||||
@lastWorldFramesLoaded = @world.frames.length
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue