summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/play.js b/play.js
index fd11f20..f182f97 100644
--- a/play.js
+++ b/play.js
@@ -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)
}