工具前调服务器时间 体力回复值不正确

This commit is contained in:
meixiongfeng 2023-12-19 17:57:40 +08:00
parent 188ef87b07
commit ddd8396c75

View File

@ -1088,7 +1088,7 @@ func (this *User) recoverUserPs(user *pb.DBUser) (change bool, total int32, next
return return
} }
total = pconf.PsCeiling total = pconf.PsCeiling
cur := time.Now().Unix() cur := configure.Now().Unix()
if user.LastRecoverPsSec == 0 { if user.LastRecoverPsSec == 0 {
user.LastRecoverPsSec = cur user.LastRecoverPsSec = cur
change = true change = true