v0.7.4: Goo now locks its floor the moment it is awake

This commit is contained in:
Evan Debenham
2019-07-17 02:39:46 -04:00
parent 62f7f2293b
commit c4e9808acd

View File

@@ -113,6 +113,10 @@ public class Goo extends Mob {
}
HP++;
}
if (state != SLEEPING){
Dungeon.level.seal();
}
return super.act();
}
@@ -205,12 +209,6 @@ public class Goo extends Mob {
pumpedUp = 0;
return super.getCloser( target );
}
@Override
public void move( int step ) {
Dungeon.level.seal();
super.move( step );
}
@Override
public void damage(int dmg, Object src) {