Compare commits

..

No commits in common. "052cfc1fe1bb0dbf4b2daedb079abc8e27504579" and "384f8b5b9c4da196ff71e6fb1b1cf1561e4f2c24" have entirely different histories.

1 changed files with 1 additions and 5 deletions

View File

@ -4653,11 +4653,7 @@ func (this *Player) AddItemRecExpireTime(itemId int32, num, add int64, gainWay i
if this.ItemRecExpireTime == 0 {
this.ItemRecExpireTime = time.Now().Unix() + int64(itemData.Time)*3600*num
} else {
if this.ItemRecExpireTime >= time.Now().Unix() {
this.ItemRecExpireTime += int64(itemData.Time) * 3600 * num
} else {
this.ItemRecExpireTime = time.Now().Unix() + int64(itemData.Time)*3600*num
}
}
}