diff --git a/maps/_common/mapsystem/map.dm b/maps/_common/mapsystem/map.dm index a1027826437..8abfb14d71d 100644 --- a/maps/_common/mapsystem/map.dm +++ b/maps/_common/mapsystem/map.dm @@ -224,7 +224,7 @@ guaranteed += site if ((site.template_flags & TEMPLATE_FLAG_ALLOW_DUPLICATES) && !(site.template_flags & TEMPLATE_FLAG_RUIN_STARTS_DISALLOWED)) available[site] = site.spawn_weight - else if (!(site.template_flags & TEMPLATE_FLAG_RUIN_STARTS_DISALLOWED)) + else if (!(site.template_flags & TEMPLATE_FLAG_RUIN_STARTS_DISALLOWED) && (SSatlas.current_sector.name in site.sectors)) available[site] = site.spawn_weight by_type[site.type] = site