mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 09:35:39 -05:00
Added handling for bad sprite data.
This commit is contained in:
parent
0af7b4d5b7
commit
d1d6a734b4
1 changed files with 1 additions and 0 deletions
|
@ -115,6 +115,7 @@ module.exports = class SpriteBuilder
|
|||
if _.isString(childData)
|
||||
child = @buildShapeFromStore(childData)
|
||||
else
|
||||
continue if not childData.gn
|
||||
child = @buildContainerFromStore(childData.gn)
|
||||
child.setTransform(childData.t...)
|
||||
cont.addChild(child)
|
||||
|
|
Loading…
Reference in a new issue