diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-03-19 23:22:55 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-03-19 23:35:48 +0100 |
commit | 3da77df81e8aed49a3c2935b7cc3ff1a735e7924 (patch) | |
tree | a093aba3904e4bc4a03041d548bde0282ae3ace8 /play.js | |
parent | 7ed5936e81547858673806c9092ff0b370a9e656 (diff) | |
download | land-and-freedom-3da77df81e8aed49a3c2935b7cc3ff1a735e7924.tar.gz |
Fix bugs.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -364,6 +364,7 @@ const faction_class = { "0": "anarchist", "1": "communist", "2": "moderate", + "f": "fascist", } function update_front(status_card, str_container, con_container, front, front_id) { @@ -647,7 +648,7 @@ function on_log(text) { // eslint-disable-line no-unused-vars // text = text.replace(/\bHP\b/g, sub_token) if (text.startsWith("#")) { - p.className = "h " + text[1] + p.className = "h " + faction_class[text[1]] text = text.substring(3) } |