playroom修复
This commit is contained in:
parent
e26e663d91
commit
cd7565473b
@ -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()
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user