1
This commit is contained in:
parent
6365004414
commit
1758fc557c
@ -258,6 +258,9 @@ bool MatchTeam::IsValidMember(const cs::CMJoin& msg)
|
|||||||
|
|
||||||
void MatchTeam::Update()
|
void MatchTeam::Update()
|
||||||
{
|
{
|
||||||
|
if (phase_ == kMatchWaitStart) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (IsMasterTeam()) {
|
if (IsMasterTeam()) {
|
||||||
UpdateMaster();
|
UpdateMaster();
|
||||||
} else {
|
} else {
|
||||||
|
@ -7,7 +7,8 @@ enum MatchTeamPhase_e
|
|||||||
kMatchCombining = 1,
|
kMatchCombining = 1,
|
||||||
kMatchChoose = 2,
|
kMatchChoose = 2,
|
||||||
kMatchLock = 3,
|
kMatchLock = 3,
|
||||||
kMatchStartGame = 4
|
kMatchStartGame = 4,
|
||||||
|
kMatchWaitStart = 5
|
||||||
};
|
};
|
||||||
|
|
||||||
enum MatchTeamMember_e
|
enum MatchTeamMember_e
|
||||||
|
Loading…
x
Reference in New Issue
Block a user