Fix a million visible sprites on level load
This commit is contained in:
parent
dc0041da39
commit
d379eb4a30
1 changed files with 0 additions and 1 deletions
|
@ -32,7 +32,6 @@ Entity = function(level, x, y, z) {
|
|||
|
||||
entity.activeSprite = anims[name];
|
||||
|
||||
entity.activeSprite.visible = true;
|
||||
if (entity.activeSprite.play) {
|
||||
entity.activeSprite.gotoAndPlay(0);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue