diff --git a/worldsrv/player.go b/worldsrv/player.go index cd756c5..39e4967 100644 --- a/worldsrv/player.go +++ b/worldsrv/player.go @@ -1799,7 +1799,12 @@ func (this *Player) CanDelete() bool { } func (this *Player) Time2Save() { - this.Save(false) + logger.Logger.Tracef("player save %v", this.SnId) + if common.Config.IsDevMode { + this.Save(true) + } else { + this.Save(false) + } if this != nil && this.CanDelete() { PlayerMgrSington.DelPlayer(this.SnId) }