aboutsummaryrefslogtreecommitdiff
path: root/internal/game/sys_technology.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/game/sys_technology.go')
-rw-r--r--internal/game/sys_technology.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/game/sys_technology.go b/internal/game/sys_technology.go
index e285ba8..6f03276 100644
--- a/internal/game/sys_technology.go
+++ b/internal/game/sys_technology.go
@@ -189,7 +189,7 @@ func (g *Game) tryRecharge(sess *net.Session, p *player.Player, input string) bo
sess.WriteLine("Your battery is already full.")
} else {
p.Battery = p.MaxBattery()
- g.AccountStore.SaveCharacter(p)
+ g.saveCharacter(p)
sess.WriteLine(g.colorize(sess, "battery",
"You connect to the charging station. Your battery is fully recharged."))
}