Add button in bottom right to wait
This commit is contained in:
@@ -144,6 +144,12 @@ export class GameScene extends Phaser.Scene {
|
||||
}
|
||||
});
|
||||
|
||||
this.events.on("player-wait", () => {
|
||||
if (!this.awaitingPlayer) return;
|
||||
if (this.isMenuOpen || this.isInventoryOpen || this.dungeonRenderer.isMinimapVisible()) return;
|
||||
this.commitPlayerAction({ type: "wait" });
|
||||
});
|
||||
|
||||
|
||||
|
||||
// Zoom Control
|
||||
|
||||
Reference in New Issue
Block a user