diff options
author | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-11-04 10:29:27 +0100 |
---|---|---|
committer | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-11-04 10:29:27 +0100 |
commit | 422c33fe31b1e3a84720fa685b4f2e1c5965ea1f (patch) | |
tree | 70327fea81e27a16885bd397d76b92c522ab6f51 /rules.js | |
parent | 7eaa58cd757e13169d574952a7c4c65c448f5ff9 (diff) | |
download | algeria-422c33fe31b1e3a84720fa685b4f2e1c5965ea1f.tar.gz |
fix pay_ap
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -226,7 +226,7 @@ function log_pay_ap(amount) { function pay_ap(amount, verbose=true) { if (verbose) log_pay_ap(amount) - game.fln_ap = Math.min(MAX_AP, game.fln_ap + amount) + game.fln_ap = Math.max(0, game.fln_ap - amount) return amount } |