This commit is contained in:
Forrest 2026-10-01 23:01:56 -04:00
parent 0cba7f5ee0
commit 32ed347b58
172 changed files with 5464 additions and 582 deletions

View file

@ -356,7 +356,7 @@ static func pay(s: Dictionary, payment: Dictionary, stat_key: String) -> int:
var cost := maxi(0, n)
if cost > s.players[payment.player].bandwidth:
Util.fail("Can't afford %d Gb" % cost)
s.players[payment.player].bandwidth -= cost
State.add_bandwidth(s, payment.player, -cost)
State.stat(s, stat_key, payment.player, cost)
for src in touched:
var sc := CardScripts.of(src.name)