From 81f3e3bae7d82f0e0ad72d89ea5a5fdae8804712 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sun, 5 Jul 2026 00:41:11 -0400 Subject: fix: remove redundant 'quality' on items, fix ranged str on ammo, item admin ui updates --- internal/game/core_utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/game/core_utils.go') diff --git a/internal/game/core_utils.go b/internal/game/core_utils.go index 71d0acb..a07e789 100644 --- a/internal/game/core_utils.go +++ b/internal/game/core_utils.go @@ -144,7 +144,7 @@ func (g *Game) broadcastAction(sess *net.Session, format string, args ...interfa func (g *Game) newInventorySlot(itemID string, qty int) *player.InventorySlot { slot := &player.InventorySlot{ItemID: itemID, Quantity: qty} if def, err := g.ItemStore.Load(itemID); err == nil && def.MaxQuality > 0 { - slot.Quality = def.Quality + slot.Quality = def.MaxQuality slot.MaxQuality = def.MaxQuality } return slot -- cgit v1.2.3