This commit is contained in:
aozhiwei 2020-06-02 15:34:47 +08:00
parent 5ca7ab2d03
commit 732827b166
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ cs::SMUpdate* FrameMaker::MakeUpdateMsg(const Human* hum)
if (hum->CanSee(std::get<0>(tuple))) {
*msg->add_shots() = std::get<1>(tuple);
} else {
#ifdef DEBUG
#ifdef DEBUG1
abort();
#endif
}

View File

@ -34,9 +34,9 @@ static RoomType_e GetHumanRoomType(const cs::CMJoin& msg)
if (!f8::IsOnlineEnv()) {
int channel = f8::ExtractChannelIdFromAccountId(msg.account_id());
if (channel != 6000) {
game_times = 0;
game_times = 2;
if (!msg.team_uuid().empty()) {
game_times = 1;
game_times = 2;
}
}
}