From 779b6c0c999c16a0bd9bc9e11f59ee39025513ad Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 1 Jun 2024 19:55:23 +0200 Subject: disable test scenario --- rules.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'rules.js') diff --git a/rules.js b/rules.js index 92f959a..ac65ea3 100644 --- a/rules.js +++ b/rules.js @@ -12,7 +12,6 @@ const SCENARIO_INDEX = { "3P": 3, "The War in the West": 1, "The Austrian Theatre": 2, - "TEST": 4 } const ROLE_NAME_1 = [ @@ -1341,8 +1340,7 @@ states.movement = { if (done_trains && done_generals) view.actions.end_movement = 1 else - // TODO view.actions.confirm_end_movement = 1 - view.actions.end_movement = 1 + view.actions.confirm_end_movement = 1 }, piece(p) { push_undo() @@ -4230,11 +4228,6 @@ exports.setup = function (seed, scenario, options) { shuffle_bigint(game.deck) - if (scenario === "TEST") { - game.turn = 3 - game.clock = [ 18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1 ] - } - if (game.scenario === 1) { setup_the_war_in_the_west() } else if (game.scenario === 2) { -- cgit v1.2.3