v0.3.1: fixed traps not being visible when they should be
This commit is contained in:
parent
614de4a583
commit
3cd4f2551a
|
@ -81,7 +81,10 @@ public abstract class Trap implements Bundlable {
|
|||
protected void disarm(){
|
||||
Dungeon.level.disarmTrap(pos);
|
||||
active = false;
|
||||
if (sprite != null) sprite.reset( this );
|
||||
if (sprite != null) {
|
||||
sprite.visible = true;
|
||||
sprite.reset( this );
|
||||
}
|
||||
}
|
||||
|
||||
private static final String POS = "pos";
|
||||
|
|
Loading…
Reference in New Issue
Block a user