mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04:00
Fixed a bug with the goals.
This commit is contained in:
parent
bdbb1710eb
commit
533069dba8
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,7 @@ module.exports = class God
|
|||
window.BOX2D_ENABLED = true
|
||||
@lastSerializedWorldFrames = serialized.frames
|
||||
|
||||
finishBeholdingWorld: (newWorld) ->
|
||||
finishBeholdingWorld: (newWorld) =>
|
||||
newWorld.findFirstChangedFrame @world
|
||||
@world = newWorld
|
||||
errorCount = (t for t in @world.thangs when t.errorsOut).length
|
||||
|
@ -224,6 +224,7 @@ class Angel
|
|||
|
||||
destroy: ->
|
||||
@dead = true
|
||||
@finishBeholdingWorld = null
|
||||
@abort()
|
||||
|
||||
testWorker: =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue