aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_god.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/cmd_god.go')
-rw-r--r--internal/game/cmd_god.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/cmd_god.go b/internal/game/cmd_god.go
index 56311cb..b819fbd 100644
--- a/internal/game/cmd_god.go
+++ b/internal/game/cmd_god.go
@@ -61,7 +61,7 @@ func (g *Game) executeUnGod(sess *net.Session, args []string, rawInput string) {
return
}
g.restoreGodPlayer(p)
- g.AccountStore.SaveCharacter(p)
+ g.saveCharacter(p)
sess.WriteLine("God mode deactivated. Skills restored.")
}