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/production_menu.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/game/production_menu.go') diff --git a/internal/game/production_menu.go b/internal/game/production_menu.go index 10b7eb0..090214f 100644 --- a/internal/game/production_menu.go +++ b/internal/game/production_menu.go @@ -127,7 +127,7 @@ func (g *Game) showProductionTable(sess *net.Session, p *player.Player, items [] mode := g.colorMode(sess) skillLevel := p.Level(player.SkillName(skill)) - dimSpec := g.resolveConstant(sess, "production_locked") + dimSpec := g.resolveConstant("production_locked") tbl := &ui.Table{ Title: title, @@ -259,7 +259,7 @@ func (g *Game) handleProductChoice(sess *net.Session, input string) { p.EnsureFlags() g.setPlayerFlag(p, lastFlagKey, sel.Item.ID) - g.AccountStore.SaveCharacter(p) + g.saveCharacter(p) if background { g.startFletchAction(sess, p, sel.Item, sel.Count) -- cgit v1.2.3