aboutsummaryrefslogtreecommitdiff
path: root/internal/game/look_entities.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-27 21:25:20 -0400
committerhistoria <[not public]>2026-06-27 21:25:20 -0400
commit87dacfbb3dd16e7f55a82361eace98f9a39d75c8 (patch)
treed548f75a37b5b8e960c5e5d111237e172650bb59 /internal/game/look_entities.go
parent83f8f5447ec3baf85314ce7343f0e339d28bcc15 (diff)
downloadthehouseoficarus-87dacfbb3dd16e7f55a82361eace98f9a39d75c8.tar.gz
feat: room-specific objects can be defined inline in room yaml
Diffstat (limited to 'internal/game/look_entities.go')
-rw-r--r--internal/game/look_entities.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/look_entities.go b/internal/game/look_entities.go
index f6b58a1..def505a 100644
--- a/internal/game/look_entities.go
+++ b/internal/game/look_entities.go
@@ -88,7 +88,7 @@ func (g *Game) showRoomObjects(sess *net.Session, p *player.Player, room *world.
}
for _, objID := range order {
count := grouped[objID]
- def, err := g.ObjectStore.Load(objID)
+ def, err := g.resolveObjectDef(p.RoomID, objID)
if err != nil {
continue
}