v0.4.2: fixed a bug where flock traps would spawn particles everywhere

This commit is contained in:
Evan Debenham 2016-08-20 13:50:45 -04:00 committed by Evan Debenham
parent ca068c92b2
commit 710bbca66b

View File

@ -58,8 +58,8 @@ public class FlockTrap extends Trap {
sheep.lifespan = 2 + Random.Int(Dungeon.depth + 10);
sheep.pos = i;
GameScene.add(sheep);
CellEmitter.get(i).burst(Speck.factory(Speck.WOOL), 4);
}
CellEmitter.get(i).burst(Speck.factory(Speck.WOOL), 4);
}
Sample.INSTANCE.play(Assets.SND_PUFF);
Actor.remove(this);