summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index b72f109..579da55 100644
--- a/rules.js
+++ b/rules.js
@@ -2238,7 +2238,9 @@ function format_combat_stack(s) {
function signed_number(v) {
if (v > 0)
return "+" + v
- return v
+ if (v < 0)
+ return "\u2212" + (-v)
+ return "0"
}
function format_combat(value) {
@@ -2907,7 +2909,7 @@ function resume_supply_restore() {
else if (should_supply_flip())
goto_supply_flip()
else
- end_supply()
+ game.state = "supply_done"
}
function resume_supply_eliminate() {
@@ -2916,7 +2918,7 @@ function resume_supply_eliminate() {
else if (should_supply_flip())
goto_supply_flip()
else
- end_supply()
+ game.state = "supply_done"
}
function resume_supply_flip() {