From 603a74a75197d1b26f2ddeae7dc9f50a34997f34 Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Fri, 23 Oct 2020 17:44:26 -0600 Subject: [PATCH] Show a hint the player starts on --- js/game.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/game.js b/js/game.js index 7651a4b..78159ac 100644 --- a/js/game.js +++ b/js/game.js @@ -322,6 +322,9 @@ export class Level { if (tile.type.on_ready) { tile.type.on_ready(tile, this); } + if (cell === this.player.cell && tile.type.is_hint) { + this.hint_shown = tile.specific_hint ?? this.stored_level.hint; + } } } }