summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-05-18 20:57:16 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-18 21:13:16 +0200
commit4416bcfc51ac863647d9432d029bb09840e5ee75 (patch)
tree0f74ac23272b7473f512921a5864509478642e84
parente81412d934d02edbe80f34e1b3613067f3478b91 (diff)
downloadrichard-iii-4416bcfc51ac863647d9432d029bb09840e5ee75.tar.gz
Fix logging of location numbers.
-rw-r--r--rules.js6
1 files changed, 3 insertions, 3 deletions
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