aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_move.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_move.go')
-rw-r--r--internal/game/cmd_move.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/game/cmd_move.go b/internal/game/cmd_move.go
index b749e84..2939702 100644
--- a/internal/game/cmd_move.go
+++ b/internal/game/cmd_move.go
@@ -86,7 +86,6 @@ func (g *Game) doMove(sess *net.Session, dir string, multiplier float64) {
}
p.MoveTicks = ticks
- p.ActionState = &ActionState{Type: ActionMoving, Direction: string(exitDir)}
if inCombat && p.OptionBool("run_countdown") {
if p.MoveTicks > 1 {
@@ -178,7 +177,6 @@ func (g *Game) completeMove(sess *net.Session, p *player.Player) {
}
sess.WriteLine(fmt.Sprintf("You walk %s.", g.colorize(sess, "direction", exitDir)))
- p.ActionState = &ActionState{Type: ActionMoving, Direction: exitDir}
if p.OptionBool("description") {
g.doLook(sess)
} else {