diff options
| author | historia <[not public]> | 2026-09-16 17:05:17 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-09-16 17:05:17 -0400 |
| commit | 1dad15698845d370e998f7cc5feb8aece3fab58f (patch) | |
| tree | 8d58058782de9f422573e1f8efd5d130ce7d1ce9 /internal/game/production_menu.go | |
| parent | a6cf03a6ae98e4fb675da25046d148e92bcf7206 (diff) | |
| download | thehouseoficarus-1dad15698845d370e998f7cc5feb8aece3fab58f.tar.gz | |
refactor: remove dead code, consolidate save/error handling, add lint gate
Diffstat (limited to 'internal/game/production_menu.go')
| -rw-r--r-- | internal/game/production_menu.go | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
