From 8fe9e3c3fef0049df82281a62afe35dda516dfe2 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Fri, 18 Sep 2026 17:48:26 -0400 Subject: fix: close combat ghost, admin traversal, login throttle, journal double-pay, and quality/economy gaps --- internal/game/cmd_wear.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'internal/game/cmd_wear.go') diff --git a/internal/game/cmd_wear.go b/internal/game/cmd_wear.go index 5a293de..e459386 100644 --- a/internal/game/cmd_wear.go +++ b/internal/game/cmd_wear.go @@ -141,6 +141,13 @@ func (g *Game) displacedEquipSlot(p *player.Player, itemID string) *player.Inven slot.MaxQuality = def.MaxQuality } delete(p.EquipQuality, itemID) + return slot + } + // No charge record: keep a max_quality item quality-bearing but empty so + // consumeFireTool refuses it instead of treating it as an infinite + // firesteel. Stamping full quality here would refill the item. + if def, _ := g.ItemStore.Load(itemID); def != nil && def.MaxQuality > 0 { + slot.MaxQuality = def.MaxQuality } return slot } -- cgit v1.2.3