From 31df2fe9d118a8dd2004ec0844602cba08d12a85 Mon Sep 17 00:00:00 2001 From: Mischa Untaga <99098079+MischaU8@users.noreply.github.com> Date: Sat, 9 Dec 2023 16:16:36 +0100 Subject: deprecate planning_phase --- rules.js | 7 ++----- 1 file 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() { -- cgit v1.2.3