diff options
| author | historia <[not public]> | 2026-09-16 15:00:46 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-16 15:00:46 -0400 |
| commit | a6cf03a6ae98e4fb675da25046d148e92bcf7206 (patch) | |
| tree | 194499fe9e696be8c31cd915b7ad92678f9f95e0 /internal/game/cmd_use.go | |
| parent | 9192d94dea6be5498ab080f3e2df5667af871d7a (diff) | |
| download | thehouseoficarus-a6cf03a6ae98e4fb675da25046d148e92bcf7206.tar.gz | |
chore: staticcheck and gofmt cleanups
Diffstat (limited to 'internal/game/cmd_use.go')
| -rw-r--r-- | internal/game/cmd_use.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
