summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-15 15:48:13 +0200
committerMischa Untaga <99098079+MischaU8@users.noreply.github.com>2023-10-15 15:48:13 +0200
commit1b1e4856fdb296cb486999231fe12abab1237474 (patch)
tree0edb7856122f6f6f903250762c6391913c7b53bd /rules.js
parent4f9209e78680190eedb70752c161c5d4d952b36c (diff)
downloadalgeria-1b1e4856fdb296cb486999231fe12abab1237474.tar.gz
After the first setup, you don't need to player switch before rolling for the event
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index 0bb78d1..c2d8eca 100644
--- a/rules.js
+++ b/rules.js
@@ -1346,9 +1346,8 @@ states.scenario_setup = {
}
function end_scenario_setup() {
- set_next_player()
-
- if (has_friendly_unit_in_loc(DEPLOY)) {
+ if (has_enemy_unit_in_loc(DEPLOY)) {
+ set_next_player()
goto_scenario_setup()
} else {
begin_game()