summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-12-09 16:16:36 +0100
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-12-09 16:16:36 +0100
commit31df2fe9d118a8dd2004ec0844602cba08d12a85 (patch)
treee0825d8e7d24cca8d4c33a9f02534b5d3b3c403c
parent70c284bd4410478831afa53c0d4b247e53601edf (diff)
downloadvotes-for-women-31df2fe9d118a8dd2004ec0844602cba08d12a85.tar.gz
deprecate planning_phase
-rw-r--r--rules.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/rules.js b/rules.js
index c3685cd..540ff39 100644
--- a/rules.js
+++ b/rules.js
@@ -827,13 +827,10 @@ function start_turn() {
log_h1("Turn " + game.turn)
log_h2("Planning")
-
- if (game.turn === 1)
- game.state = "planning_phase"
- else
- end_planning_phase()
+ end_planning_phase()
}
+// XXX Deprecated on 2023-12-09, keep `states.planning_phase` for current games.
states.planning_phase = {
inactive: "do Planning.",
prompt() {