mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-18 19:39:42 +01:00
Fixes away map selection not checking if the away site could spawn in that sector (#13648)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user