mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
Fixed bug with sprites being offset incorrectly when starting with an action not in their ThangType.
This commit is contained in:
parent
e63e787a30
commit
4b9c7a3784
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass
|
|||
##################################################
|
||||
updateAction: ->
|
||||
action = @determineAction()
|
||||
isDifferent = action isnt @currentRootAction
|
||||
isDifferent = action isnt @currentRootAction or action is null
|
||||
if not action and @thang?.actionActivated and not @stopLogging
|
||||
console.error "action is", action, "for", @thang?.id, "from", @currentRootAction, @thang.action, @thang.getActionName?()
|
||||
@stopLogging = true
|
||||
|
|
Loading…
Reference in a new issue