From e42952469dadfb3535633c66c881050ac128703c Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 5 Oct 2026 17:05:14 -0400 Subject: fix: gather verbs, walk oom, admin path bypass, roulette refund --- internal/game/cmd_shop.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'internal/game/cmd_shop.go') diff --git a/internal/game/cmd_shop.go b/internal/game/cmd_shop.go index 282d3ca..95e9e01 100644 --- a/internal/game/cmd_shop.go +++ b/internal/game/cmd_shop.go @@ -308,7 +308,9 @@ func (g *Game) doShopSell(sess *net.Session, mob *world.MobInstance, input strin sess.WriteLine("You don't have that item.") return } - if len(matches) > 1 { + // Multiple slots often hold the same item name (stacking does not always + // merge), so only treat distinct names as ambiguous. + if len(matches) > 1 && len(uniqueItemNames(matches)) > 1 { sess.WriteLine("That's ambiguous, which one?") for _, m := range matches { def, _ := g.ItemStore.Load(m.ID) -- cgit v1.2.3