From a6cf03a6ae98e4fb675da25046d148e92bcf7206 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 16 Sep 2026 15:00:46 -0400 Subject: chore: staticcheck and gofmt cleanups --- internal/game/cmd_use.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/game/cmd_use.go') diff --git a/internal/game/cmd_use.go b/internal/game/cmd_use.go index 975eddb..12dbc73 100644 --- a/internal/game/cmd_use.go +++ b/internal/game/cmd_use.go @@ -192,7 +192,7 @@ func (g *Game) doUseItemOnTarget(sess *net.Session, p *player.Player, itemAName, itemAID := matchesA[0].ID - matchesB := g.findInventoryMatches(itemBName, p) + var matchesB []itemMatch objInstances := g.World.FindObjInstances(p.RoomID, itemBName) if len(objInstances) > 0 { -- cgit v1.2.3