aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_setplayerflag.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_setplayerflag.go')
-rw-r--r--internal/game/cmd_setplayerflag.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/cmd_setplayerflag.go b/internal/game/cmd_setplayerflag.go
index 3d0bdbf..ec99cda 100644
--- a/internal/game/cmd_setplayerflag.go
+++ b/internal/game/cmd_setplayerflag.go
@@ -55,6 +55,6 @@ func (g *Game) executeSetPlayerFlag(sess *net.Session, args []string, rawInput s
}
g.setPlayerFlag(tp, flagName, value)
- g.AccountStore.SaveCharacter(tp)
+ g.saveCharacter(tp)
sess.WriteLine(fmt.Sprintf("Player flag '%s' set to %v for %s.", flagName, value, tp.Name))
}