summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-12-19 14:05:56 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commite1c23703e9a4cfab415eb57693adc46f095aba03 (patch)
tree115c06a262809ab823dd0d7cacb22cc3c99ee9eb /rules.js
parent69d42a0e3a42eaa4e2bf5bc17a24bcf45aad6fcf (diff)
downloadnevsky-e1c23703e9a4cfab415eb57693adc46f095aba03.tar.gz
Center cylinders on locales.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 940808f..257db82 100644
--- a/rules.js
+++ b/rules.js
@@ -3528,6 +3528,7 @@ states.avoid_battle_laden = {
}
} else {
gen_action_locale(to)
+ view.actions.avoid = 1
}
},
prov(lord) {
@@ -3539,6 +3540,9 @@ states.avoid_battle_laden = {
locale(to) {
avoid_battle_2(false)
},
+ avoid() {
+ avoid_battle_2(false)
+ },
}
function avoid_battle_2() {