From 4416bcfc51ac863647d9432d029bb09840e5ee75 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 18 May 2023 20:57:16 +0200 Subject: Fix logging of location numbers. --- rules.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index cf46587..acec37d 100644 --- a/rules.js +++ b/rules.js @@ -2801,7 +2801,7 @@ function goto_supply_phase() { if (game.location[game.king] === MINOR) log("The new King is a minor.") else - log("The new King is in " + game.location[game.king] + ".") + log("The new King is in #" + game.location[game.king] + ".") } goto_execute_clarence() @@ -2893,7 +2893,7 @@ states.enter_pretender_heir = { }, area: function (to) { logbr() - log(block_name(game.who) + " came of age in " + to + ".") + log(block_name(game.who) + " came of age in #" + to + ".") --game.killed_heirs[game.active] game.location[game.who] = to game.who = NOBODY @@ -2973,7 +2973,7 @@ states.enter_royal_heir = { }, area: function (to) { logbr() - log(block_name(game.who) + " came of age in " + to + ".") + log(block_name(game.who) + " came of age in #" + to + ".") --game.killed_heirs[game.active] game.location[game.who] = to game.who = NOBODY -- cgit v1.2.3