diff options
Diffstat (limited to 'internal/game/action_burn.go')
| -rw-r--r-- | internal/game/action_burn.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/game/action_burn.go b/internal/game/action_burn.go index 01bf385..0b7db2c 100644 --- a/internal/game/action_burn.go +++ b/internal/game/action_burn.go @@ -15,6 +15,7 @@ func (g *Game) doBurn(sess *net.Session, p *player.Player, input string) { if p.Action != nil { g.CancelAction(p) } + g.CancelBackgroundAction(p) itemID, fromGround, ambiguous := g.resolveBurnTarget(p, input) if ambiguous { @@ -33,6 +34,7 @@ func (g *Game) doStoke(sess *net.Session, p *player.Player, input string) { if p.Action != nil { g.CancelAction(p) } + g.CancelBackgroundAction(p) if !g.hasFireObject(p.RoomID) { sess.WriteLine("There's no fire here to stoke.") |
