aboutsummaryrefslogtreecommitdiff
path: root/internal/game/act.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/act.go')
-rw-r--r--internal/game/act.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/act.go b/internal/game/act.go
index 654b65c..aa25625 100644
--- a/internal/game/act.go
+++ b/internal/game/act.go
@@ -105,7 +105,7 @@ func (g *Game) startAction(sess *net.Session, verb, target string) {
return
}
var err error
- obj, err = g.resolveObjectDef(p.RoomID, chosen.DefID)
+ obj, _, err = g.resolveObjectDef(p.RoomID, chosen.DefID)
if err != nil {
sess.WriteLine(fmt.Sprintf("There's nothing here to %s.", verb))
return