aboutsummaryrefslogtreecommitdiff
path: root/internal/game/production_menu.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/production_menu.go')
-rw-r--r--internal/game/production_menu.go4
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)