v0.4.1: fixed piranha sprites hanging around after death
This commit is contained in:
parent
5bab9a84be
commit
b61d1abef9
|
@ -57,6 +57,7 @@ public class Piranha extends Mob {
|
|||
protected boolean act() {
|
||||
if (!Level.water[pos]) {
|
||||
die( null );
|
||||
sprite.killAndErase();
|
||||
return true;
|
||||
} else {
|
||||
//this causes pirahna to move away when a door is closed on them.
|
||||
|
|
Loading…
Reference in New Issue
Block a user