aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_search.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_search.go')
-rw-r--r--internal/game/cmd_search.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/game/cmd_search.go b/internal/game/cmd_search.go
index 4122e0a..2c5017e 100644
--- a/internal/game/cmd_search.go
+++ b/internal/game/cmd_search.go
@@ -40,6 +40,5 @@ func (g *Game) doSearch(sess *net.Session, input string) {
}
itemID := matches[0].ID
- slotIdx := matches[0].Slot
- g.startSearch(sess, p, itemID, slotIdx)
+ g.doSearchItem(sess, p, itemID)
}