From 6ef40a5739f1723ec26cc32dfc48fe764f776dca Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 16 Sep 2026 19:57:45 -0400 Subject: fix: durable payouts survive journal failure, cap bank withdrawals, hash passwords off the owner loop. --- internal/game/act_steal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/game/act_steal.go') diff --git a/internal/game/act_steal.go b/internal/game/act_steal.go index f9ca095..32889ce 100644 --- a/internal/game/act_steal.go +++ b/internal/game/act_steal.go @@ -418,7 +418,7 @@ func (g *Game) giveStealLoot(sess *net.Session, p *player.Player, drop *behavior } if drop.ItemID == "credits" { - p.Credits += qty + g.grantCredits(p, qty) sess.WriteLine(g.colorize(sess, "currency_pickup", fmt.Sprintf("You steal %d credits.", qty))) return } -- cgit v1.2.3