房间真人数量统计错误

This commit is contained in:
sk 2024-09-10 15:04:11 +08:00
parent 3b18460edb
commit 288624a55b
1 changed files with 3 additions and 0 deletions

View File

@ -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++
}
}
}