aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_search.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-10 17:02:13 -0400
committerhistoria <[not public]>2026-07-10 17:02:13 -0400
commitd02f0d2cdf67f1445a9ccae86b99a2578adab585 (patch)
treefc2caae674d20b9ac31aa0da41f4f600f8f801a9 /internal/game/cmd_search.go
parent18d46f9c336d37d0282eb7191bb7ff930163d18f (diff)
downloadthehouseoficarus-d02f0d2cdf67f1445a9ccae86b99a2578adab585.tar.gz
feat(admin): update search to use standard condition/action framework rather than bespoke implementation
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)
}