summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-08-13 22:07:01 +0200
committerTor Andersson <tor@ccxvii.net>2023-08-22 21:38:27 +0200
commit89ee0b4262e89333e13a7a17604c816662c86158 (patch)
treeec9b05713f41ab333db8e43ce7a5310c7f21cce4 /rules.js
parentce9ac19b171a23d04939ca13a48258d5a26eac7e (diff)
downloadtime-of-crisis-89ee0b4262e89333e13a7a17604c816662c86158.tar.gz
Remove "Enter Capital" button.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 56798fe..680bf95 100644
--- a/rules.js
+++ b/rules.js
@@ -2020,7 +2020,6 @@ states.take_actions = {
if (is_general_inside_capital(game.selected_general)) {
view.actions.leave = 1
} else if (can_enter_capital(where)) {
- view.actions.enter = 1
gen_action_capital(where)
}
}
@@ -3555,7 +3554,6 @@ states.force_march = {
if (is_general_inside_capital(game.selected_general)) {
view.actions.leave = 1
} else if (can_enter_capital(where)) {
- view.actions.enter = 1
gen_action_capital(where)
}
}