This commit is contained in:
aozhiwei 2023-09-21 13:22:57 +08:00
parent f66290b820
commit 1f6cd95ce0

View File

@ -346,6 +346,9 @@ void Room::ShuaAndroid()
if (IsNewBieRoom()) { if (IsNewBieRoom()) {
return; return;
} }
if (IsCustomBattle()) {
return;
}
if (GetGasData().GetGasMode() != GasInactive) { if (GetGasData().GetGasMode() != GasInactive) {
return; return;
} }
@ -1023,6 +1026,9 @@ bool Room::CanJoin(const std::string& accountid,
if (IsNewBieRoom()) { if (IsNewBieRoom()) {
return false; return false;
} }
if (IsCustomBattle()) {
return false;
}
if (msg.force_enter_newbie_room()) { if (msg.force_enter_newbie_room()) {
return false; return false;
} }