aboutsummaryrefslogtreecommitdiff
path: root/internal/world/objects.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/world/objects.go')
-rw-r--r--internal/world/objects.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/world/objects.go b/internal/world/objects.go
index 72e4a6d..ae2586a 100644
--- a/internal/world/objects.go
+++ b/internal/world/objects.go
@@ -6,7 +6,7 @@ import (
"sort"
"strings"
- "thehouseoficarus/internal/action"
+ "thehouseoficarus/internal/object"
)
type ObjState struct {
@@ -181,7 +181,7 @@ func (w *World) FindObjInstances(roomID int, name string) []ObjState {
}
func wordMatchesObj(lower, defID, objName string) bool {
- if action.WordPrefixMatch(lower, objName) {
+ if object.WordPrefixMatch(lower, objName) {
return true
}
inputWords := strings.Fields(strings.ToLower(lower))