mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-14 05:55:00 -04:00
Hacky fix for Kithgard Mastery walls not updating properly after dynamically being spawned.
This commit is contained in:
parent
46f90d6c7d
commit
4c2c896496
1 changed files with 2 additions and 0 deletions
|
@ -276,6 +276,8 @@ module.exports = class LankBoss extends CocoClass
|
|||
|
||||
onNewWorld: (e) ->
|
||||
@world = @options.world = e.world
|
||||
# Clear obstacle cache for this level, since we are spawning walls dynamically
|
||||
@cachedObstacles = false if e.finished and /kithgard-mastery/.test window.location.href
|
||||
|
||||
play: ->
|
||||
lank.play() for lank in @lankArray
|
||||
|
|
Loading…
Add table
Reference in a new issue