修复剩余人数显示问题

This commit is contained in:
aozhiwei 2020-07-09 16:26:11 +08:00
parent 88bebccc54
commit cadc317deb

View File

@ -908,8 +908,8 @@ void Room::UpdateGasInactive()
battle_start_frameno_ = GetFrameNo(); battle_start_frameno_ = GetFrameNo();
if (human_hash_.size() < GetRoomMaxPlayerNum()) { if (human_hash_.size() < GetRoomMaxPlayerNum()) {
CreateAndroid(GetRoomMaxPlayerNum() - human_hash_.size()); CreateAndroid(GetRoomMaxPlayerNum() - human_hash_.size());
NotifyUiUpdate();
} }
NotifyUiUpdate();
CombineTeam(); CombineTeam();
NotifyGameStart(); NotifyGameStart();
NotifyWxVoip(); NotifyWxVoip();