summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-08-02 15:42:25 +0200
committerTor Andersson <tor@ccxvii.net>2024-08-05 20:46:48 +0200
commitd89d3c8d2b75814eedb291346e267671a797dfd4 (patch)
tree537f10c23dc0c8aa2f95562489126bc0714ebb63
parente546ee472fb6d2ce8531c15c2d4a848b4000de6a (diff)
downloadtime-of-crisis-d89d3c8d2b75814eedb291346e267671a797dfd4.tar.gz
v2: demagogue (WIP)
-rw-r--r--rules.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 7f9b3e7..b993b2d 100644
--- a/rules.js
+++ b/rules.js
@@ -4070,7 +4070,10 @@ function can_play_demagogue() {
}
function play_demagogue() {
- game.state = "demagogue_confirm"
+ if (is_classic())
+ game.state = "demagogue_confirm"
+ else
+ throw "TODO"
}
states.demagogue_confirm = {