diff options
Diffstat (limited to 'internal/game/action_steal.go')
| -rw-r--r-- | internal/game/action_steal.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/action_steal.go b/internal/game/action_steal.go index a95be25..259c914 100644 --- a/internal/game/action_steal.go +++ b/internal/game/action_steal.go @@ -169,7 +169,7 @@ func (g *Game) resolveStealTarget(sess *net.Session, p *player.Player, input str var matchingObjs []*object.ObjectDef for _, o := range stealObjs { - if action.WordPrefixMatch(searchName, o.Name) { + if object.WordPrefixMatch(searchName, o.Name) { matchingObjs = append(matchingObjs, o) } } |
