mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-31 07:12:49 -04:00
Fixed a bug when a thang has multiple effects.
This commit is contained in:
parent
da762fbc4f
commit
939c5faa1a
1 changed files with 1 additions and 0 deletions
|
@ -402,6 +402,7 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass
|
|||
|
||||
if @previousEffectNames
|
||||
for effect in @previousEffectNames
|
||||
continue if effect in @thang.effectNames
|
||||
mark = @marks[effect]
|
||||
mark.toggle false
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue