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_walk.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'internal/game/cmd_walk.go') diff --git a/internal/game/cmd_walk.go b/internal/game/cmd_walk.go index 9485af5..d7d51e2 100644 --- a/internal/game/cmd_walk.go +++ b/internal/game/cmd_walk.go @@ -112,12 +112,10 @@ func (g *Game) advanceWalk(sess *net.Session, p *player.Player) { if p.MoveTicks == 0 && p.RoomID == oldRoom { p.WalkSequence = nil - p.ActionState = nil return } if len(p.WalkSequence) > 0 && remaining != "" { - p.ActionState = &ActionState{Type: ActionWalking} sess.WriteLine(fmt.Sprintf("You're headed: %s.", remaining)) } } -- cgit v1.2.3