This commit is contained in:
aozhiwei 2022-08-17 10:27:50 +08:00
parent 788a330047
commit d47c4f2961

View File

@ -2120,6 +2120,9 @@ void Room::CreateSpawnPoints()
void Room::CreateMonsterSpawnPoints()
{
if (IsPveRoom()) {
return;
}
if (room_monster_spawn_points_) {
for (auto& thing_tpl : *room_monster_spawn_points_) {
for (int hero_id : thing_tpl->heros) {