mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Fix for buildLoop still trying to loop after LevelLoader destruction for some reason.
This commit is contained in:
parent
071f006acf
commit
2588ec67ff
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ module.exports = class LevelLoader extends CocoClass
|
|||
res.markLoading()
|
||||
@spriteSheetsToBuild.push res
|
||||
|
||||
@buildLoopInterval = setInterval @buildLoop, 5
|
||||
@buildLoopInterval = setInterval @buildLoop, 5 if @spriteSheetsToBuild.length
|
||||
|
||||
maybeLoadURL: (url, Model, resourceName) ->
|
||||
return if @supermodel.getModel(url)
|
||||
|
|
Loading…
Reference in a new issue