aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_smith.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_smith.go')
-rw-r--r--internal/game/cmd_smith.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/cmd_smith.go b/internal/game/cmd_smith.go
index 4330b1d..dbab1c2 100644
--- a/internal/game/cmd_smith.go
+++ b/internal/game/cmd_smith.go
@@ -69,7 +69,7 @@ func (g *Game) doSmith(sess *net.Session, input string) {
}
sess.PendingMenu = barMenuData(barTypes)
- sess.State = net.StateRecipeChoice
+ sess.SetState(net.StateRecipeChoice)
var names []string
for _, barID := range barTypes {
def, _ := g.ItemStore.Load(barID)