aboutsummaryrefslogtreecommitdiff
path: root/internal/game/act_fletch.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/act_fletch.go')
-rw-r--r--internal/game/act_fletch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/act_fletch.go b/internal/game/act_fletch.go
index 78a19ad..e85f2c1 100644
--- a/internal/game/act_fletch.go
+++ b/internal/game/act_fletch.go
@@ -12,7 +12,7 @@ import (
func (g *Game) startFletchAction(sess *net.Session, p *player.Player, def *item.ItemDef, count int) {
p.EnsureFlags()
- p.Flags["last_fletch"] = def.ID
+ g.setPlayerFlag(p, "last_fletch", def.ID)
g.AccountStore.SaveCharacter(p)
if def.FirstCraft().Wait <= 0 {