mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-03 12:27:19 -05:00
Merge branch 'master' into production
This commit is contained in:
commit
ab4abd8071
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ module.exports = class Angel extends CocoClass
|
||||||
world.findFirstChangedFrame @shared.world
|
world.findFirstChangedFrame @shared.world
|
||||||
@shared.world = world
|
@shared.world = world
|
||||||
errorCount = (t for t in @shared.world.thangs when t.errorsOut).length
|
errorCount = (t for t in @shared.world.thangs when t.errorsOut).length
|
||||||
Backbone.Mediator.publish 'god:new-world-created', world: world, firstWorld: @shared.firstWorld, errorCount: errorCount, goalStates: goalStates
|
Backbone.Mediator.publish 'god:new-world-created', world: world, firstWorld: @shared.firstWorld, errorCount: errorCount, goalStates: goalStates, team: me.team
|
||||||
for scriptNote in @shared.world.scriptNotes
|
for scriptNote in @shared.world.scriptNotes
|
||||||
Backbone.Mediator.publish scriptNote.channel, scriptNote.event
|
Backbone.Mediator.publish scriptNote.channel, scriptNote.event
|
||||||
@shared.goalManager?.world = world
|
@shared.goalManager?.world = world
|
||||||
|
|
Loading…
Reference in a new issue