v0.4.2: fixed a bug where flock traps would spawn particles everywhere
This commit is contained in:
parent
ca068c92b2
commit
710bbca66b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user