mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Fixed #1586.
This commit is contained in:
parent
00e2fc99a2
commit
33080e5a65
1 changed files with 1 additions and 0 deletions
|
@ -612,6 +612,7 @@ module.exports = class PlayLevelView extends RootView
|
||||||
@onWindowResize()
|
@onWindowResize()
|
||||||
|
|
||||||
onRealTimePlaybackEnded: (e) ->
|
onRealTimePlaybackEnded: (e) ->
|
||||||
|
return unless @$el.hasClass 'real-time'
|
||||||
@$el.removeClass 'real-time'
|
@$el.removeClass 'real-time'
|
||||||
@onWindowResize()
|
@onWindowResize()
|
||||||
if @world.frames.length is @world.totalFrames
|
if @world.frames.length is @world.totalFrames
|
||||||
|
|
Loading…
Reference in a new issue