This commit is contained in:
aozhiwei 2024-01-11 17:34:33 +08:00
parent f33bac8640
commit d7b16636b3

View File

@ -3382,7 +3382,13 @@ void Room::AddReportBullet(int bullet_uniid)
int Room::GetReportRoomMode() int Room::GetReportRoomMode()
{ {
return IsPveRoom() ? 1 : 0; if (IsPveRoom()) {
return 1;
} else if (IsMobaModeRoom()){
return 2;
} else {
return 0;
}
} }
int Room::GetPvpMatchMode() int Room::GetPvpMatchMode()