summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-02-18 10:34:56 +0100
committerTor Andersson <tor@ccxvii.net>2023-03-03 12:48:02 +0100
commit42067348126e0683490565d8c09ea6b073ba45ae (patch)
tree59feb27f418162769009f4cad7dba613950032d7
parent3e7b7308caae74ac6c87a387a2c9c4cfde03a527 (diff)
downloadrommel-in-the-desert-42067348126e0683490565d8c09ea6b073ba45ae.tar.gz
Add explicit button for Return for Refit.
An option well as the hex.
-rw-r--r--rules.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 2329cc6..12c4644 100644
--- a/rules.js
+++ b/rules.js
@@ -6011,8 +6011,10 @@ function gen_spending_bps() {
// Return for Refit
if (from !== base) {
- if (path_cost[0][base] < 63)
+ if (path_cost[0][base] < 63) {
+ view.actions.refit = 1
gen_action_hex(friendly_refit())
+ }
}
// Redeployment