From 33080e5a6590c412cd756edec336adce0e42859c Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Tue, 23 Sep 2014 10:56:52 -0700 Subject: [PATCH] Fixed #1586. --- app/views/play/level/PlayLevelView.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/play/level/PlayLevelView.coffee b/app/views/play/level/PlayLevelView.coffee index 8bce360df..5a72ed7c8 100644 --- a/app/views/play/level/PlayLevelView.coffee +++ b/app/views/play/level/PlayLevelView.coffee @@ -612,6 +612,7 @@ module.exports = class PlayLevelView extends RootView @onWindowResize() onRealTimePlaybackEnded: (e) -> + return unless @$el.hasClass 'real-time' @$el.removeClass 'real-time' @onWindowResize() if @world.frames.length is @world.totalFrames