Fixes nonfunctional sector blacklist (#18355)

* fixes sectors_blacklist not working

* removeall

* prevent linter from shitting its own pants
This commit is contained in:
RustingWithYou
2024-02-08 12:06:43 +00:00
committed by GitHub
parent 8cb80c3a43
commit 37fc496e2a
2 changed files with 45 additions and 1 deletions
+4 -1
View File
@@ -69,7 +69,10 @@
// set up sectors
sectors = flatten_list(sectors)
sectors_blacklist = flatten_list(sectors_blacklist)
sectors -= sectors_blacklist
//opendream doesn't have this proc for lists yet so we need this to prevent the linter from shitting itself
#if !defined(OPENDREAM)
sectors.RemoveAll(sectors_blacklist)
#endif
// adjust weight from sector dependent override
var/datum/space_sector/current_sector = SSatlas.current_sector