summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.js2
-rw-r--r--rules.js9
2 files changed, 2 insertions, 9 deletions
diff --git a/play.js b/play.js
index 5d486c2..2e54aec 100644
--- a/play.js
+++ b/play.js
@@ -1100,7 +1100,7 @@ function on_update() {
action_button("end_turn", "End turn")
confirm_action_button("confirm_end_movement", "End movement",
- "You still have UNMOVED pieces.?")
+ "You still have UNMOVED pieces!")
action_button("undo", "Undo")
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) {