Fix arenas not switching back from end biome

This commit is contained in:
Flashfyre 2023-12-31 10:33:34 -05:00
parent 0700e9313d
commit 5d7f69e35f
1 changed files with 4 additions and 2 deletions

View File

@ -597,7 +597,8 @@ export class ArenaBase extends Phaser.GameObjects.Container {
repeat: -1
});
this.base.play(baseKey);
}
} else
this.base.stop();
this.add(this.base);
@ -619,7 +620,8 @@ export class ArenaBase extends Phaser.GameObjects.Container {
repeat: -1
});
prop.play(propKey);
}
} else
prop.stop();
prop.setVisible(hasProps && !!(this.propValue & (1 << p)));
this.add(prop);