房间真人数量统计错误
This commit is contained in:
parent
3b18460edb
commit
288624a55b
|
@ -582,6 +582,9 @@ func (this *Scene) AudienceSit(p *Player) {
|
|||
p.OnEnter(this)
|
||||
//避免游戏接口异常
|
||||
utils.RunPanicless(func() { this.sp.OnAudienceSit(this, p) })
|
||||
if !p.IsRob {
|
||||
this.realPlayerNum++
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue