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_get.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'internal/game/cmd_get.go') diff --git a/internal/game/cmd_get.go b/internal/game/cmd_get.go index 30bc8c2..fe5d322 100644 --- a/internal/game/cmd_get.go +++ b/internal/game/cmd_get.go @@ -37,7 +37,6 @@ func (g *Game) doGet(sess *net.Session, input string) { if itemID == "credits" { g.pickupCredits(sess, p, itemID) - p.ActionState = &ActionState{Type: ActionPickingUp, TargetName: "credits"} return } @@ -46,7 +45,6 @@ func (g *Game) doGet(sess *net.Session, input string) { if def != nil { name = def.Name } - p.ActionState = &ActionState{Type: ActionPickingUp, TargetName: name} available := 0 if gqty, ok := ground[itemID]; ok { -- cgit v1.2.3