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_hide.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'internal/game/cmd_hide.go') diff --git a/internal/game/cmd_hide.go b/internal/game/cmd_hide.go index 52ebaea..d22f3fa 100644 --- a/internal/game/cmd_hide.go +++ b/internal/game/cmd_hide.go @@ -105,8 +105,6 @@ func (g *Game) executeHide(sess *net.Session, args []string, rawInput string) { HideCountdown: hideCountdown, }) - p.ActionState = &ActionState{Type: ActionHiding, TargetName: objDef.Name} - if inCombat { sess.WriteLine(fmt.Sprintf("You try to get behind the %s for cover...", objDef.Name)) } @@ -124,7 +122,6 @@ func (g *Game) executeUnhide(sess *net.Session, args []string, rawInput string) if ss.HideCountdown > 0 { g.safespot.Delete(p.Name) - p.ActionState = nil sess.WriteLine("You stop trying to hide.") return } -- cgit v1.2.3