From 94a06fbbe682701ca4d4bd2a70cd74d8df29c932 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 25 Jun 2026 00:44:47 -0400 Subject: refactor: replaced map[string]any with typed structs for Data --- internal/game/cmd_move.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'internal/game/cmd_move.go') 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 { -- cgit v1.2.3