增加定时同步
This commit is contained in:
parent
55f44293a2
commit
0ea9f60a3c
@ -446,6 +446,7 @@ func (p *Player) AutoSaveData() {
|
||||
|
||||
p.PlayerBaseMod.SaveDataFromDB("")
|
||||
p.PlayMod.ClearData(p)
|
||||
p.UpdateUserInfo()
|
||||
err = tx.Commit()
|
||||
if err != nil {
|
||||
log.Debug("AutoSaveData Commit failed:", err)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user