This commit is contained in:
aozhiwei 2020-05-29 19:49:23 +08:00
parent 0d06f71e09
commit 84444872f2
2 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ int Room::AliveCount()
void Room::AddPlayer(Player* hum) void Room::AddPlayer(Player* hum)
{ {
if (gas_data_.gas_mode == GasInactive) { if (gas_data_.gas_mode != GasInactive) {
abort(); abort();
} }
hum->born_point = AllocBornPoint(hum); hum->born_point = AllocBornPoint(hum);

View File

@ -32,7 +32,7 @@ static RoomType_e GetHumanRoomType(const cs::CMJoin& msg)
int game_times = a8::XValue(tmp_strings[0]); int game_times = a8::XValue(tmp_strings[0]);
if (!f8::IsOnlineEnv()) { if (!f8::IsOnlineEnv()) {
#if 1 #if 1
game_times = 1; game_times = 0;
#endif #endif
if (!msg.team_uuid().empty()) { if (!msg.team_uuid().empty()) {
game_times = 1; game_times = 1;