diff options
| author | historia <[not public]> | 2026-06-19 18:20:26 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-19 18:20:26 -0400 |
| commit | 0ea4eec5dd2122c6704216971eb1249276297867 (patch) | |
| tree | 430fbbef04e837820f1d031c190f52ecd6112e25 /internal/object/item.go | |
| parent | 3a58125d14bb307f861b38c6c5b0a63babde7e08 (diff) | |
| download | thehouseoficarus-0ea4eec5dd2122c6704216971eb1249276297867.tar.gz | |
shop fixes, 'toggle' completely removed, movement speed increased
Diffstat (limited to 'internal/object/item.go')
| -rw-r--r-- | internal/object/item.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/object/item.go b/internal/object/item.go index 4959a22..7c682a4 100644 --- a/internal/object/item.go +++ b/internal/object/item.go @@ -3,7 +3,7 @@ package object import ( "strings" - "thehouseoficarus/internal/world" + "thehouseoficarus/internal/action" ) type EquipSlot string @@ -105,5 +105,5 @@ func (d *ItemDef) MatchesName(input string) bool { if strings.ToLower(d.Name) == lower { return true } - return world.WordPrefixMatch(lower, d.Name) + return action.WordPrefixMatch(lower, d.Name) } |
