v0.8.2: fixed specific cases where locked floor wasn't cleared
This commit is contained in:
parent
42a51304a9
commit
a3455335f4
|
@ -463,6 +463,9 @@ public abstract class Level implements Bundlable {
|
|||
public void unseal(){
|
||||
if (locked) {
|
||||
locked = false;
|
||||
if (Dungeon.hero.buff(LockedFloor.class) != null){
|
||||
Dungeon.hero.buff(LockedFloor.class).detach();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -206,6 +206,7 @@ public class NewHallsBossLevel extends Level {
|
|||
|
||||
@Override
|
||||
public void unseal() {
|
||||
super.unseal();
|
||||
set( entrance, Terrain.ENTRANCE );
|
||||
GameScene.updateMap( entrance );
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user