summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoël Simoneau <simoneaujoel@gmail.com>2025-04-13 14:34:28 -0400
committerJoël Simoneau <simoneaujoel@gmail.com>2025-04-13 14:34:28 -0400
commitd90835c9a5a5109b52f71a220b5484bc84cf3cd2 (patch)
treea5a054430ac9d2db096a1d3478423f65367edaad
parente3dae7dba4334baa3846b066c8aa83fecd2c6f1c (diff)
downloadvijayanagara-d90835c9a5a5109b52f71a220b5484bc84cf3cd2.tar.gz
Fix succ1 when VE has 0 resource
-rw-r--r--rules.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 78a9651..8f7a74c 100644
--- a/rules.js
+++ b/rules.js
@@ -5216,7 +5216,7 @@ states.vm_resources = {
gen_action_resources(f)
}
else if (n === 0) {
- event_prompt("${faction_name[f]} +0 Resources.")
+ event_prompt(`${faction_name[f]} +0 Resources.`)
view.actions.skip = 1
}
else {
@@ -5237,6 +5237,7 @@ states.vm_resources = {
vm_next()
},
skip() {
+ let f = vm_operand(2)
if (!is_succession())
log_resources(f, 0)
else