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/cmd_shop.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/game/cmd_shop.go') diff --git a/internal/game/cmd_shop.go b/internal/game/cmd_shop.go index ca1bf53..7299ad3 100644 --- a/internal/game/cmd_shop.go +++ b/internal/game/cmd_shop.go @@ -351,7 +351,7 @@ func (g *Game) doShopSell(sess *net.Session, mob *world.MobInstance, input strin } p.RemoveItem(match.ID, actualQty) - p.Credits += total + g.grantCredits(p, total) g.MobStore.ShopAdd(mob.InstanceID, match.ID, actualQty) g.saveCharacter(p) -- cgit v1.2.3