This commit is contained in:
aozhiwei 2022-03-22 15:13:16 +08:00
parent 6365004414
commit 1758fc557c
2 changed files with 5 additions and 1 deletions

View File

@ -258,6 +258,9 @@ bool MatchTeam::IsValidMember(const cs::CMJoin& msg)
void MatchTeam::Update()
{
if (phase_ == kMatchWaitStart) {
return;
}
if (IsMasterTeam()) {
UpdateMaster();
} else {

View File

@ -7,7 +7,8 @@ enum MatchTeamPhase_e
kMatchCombining = 1,
kMatchChoose = 2,
kMatchLock = 3,
kMatchStartGame = 4
kMatchStartGame = 4,
kMatchWaitStart = 5
};
enum MatchTeamMember_e