From 1dad15698845d370e998f7cc5feb8aece3fab58f Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 16 Sep 2026 17:05:17 -0400 Subject: refactor: remove dead code, consolidate save/error handling, add lint gate --- internal/game/core_production.go | 1 - 1 file changed, 1 deletion(-) (limited to 'internal/game/core_production.go') diff --git a/internal/game/core_production.go b/internal/game/core_production.go index 192f8ec..34ad8a9 100644 --- a/internal/game/core_production.go +++ b/internal/game/core_production.go @@ -7,7 +7,6 @@ import ( ) func (g *Game) findTool(p *player.Player, toolTypes []string) (toolSpeed float64, toolName string, toolType string, found bool) { - toolSpeed = -1 if itemID, ok := p.Equipment[item.SlotMainHand]; ok { if def, err := g.ItemStore.Load(itemID); err == nil { for _, t := range toolTypes { -- cgit v1.2.3