playroom修复

This commit is contained in:
hahwu 2026-04-08 15:18:28 +08:00
parent e26e663d91
commit cd7565473b

View File

@ -453,6 +453,9 @@ func (p *PlayroomMod) AddChip(uid int, time int64, emoji int) {
func (p *PlayroomMod) SetTarget(target int) {
p.Target = target
p.Status = STATUS_VISIT
if p.HasVisit == nil {
p.HasVisit = make(map[int]int64)
}
p.HasVisit[target] = GoUtil.Now()
}