aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_use.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_use.go')
-rw-r--r--internal/game/cmd_use.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/game/cmd_use.go b/internal/game/cmd_use.go
index 640e28b..a2cddaf 100644
--- a/internal/game/cmd_use.go
+++ b/internal/game/cmd_use.go
@@ -103,7 +103,6 @@ func (g *Game) useRoomObject(sess *net.Session, p *player.Player, input string)
if ui.Action != nil {
g.applyNodeAction(sess, ui.Action)
}
- p.ActionState = &ActionState{Type: ActionUsing, TargetName: def.Name}
g.broadcastAction(sess, "\n%s uses the %s.", p.Name, def.Name)
return true
}