mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Prevents wormholes from spawning in syndicate shuttles (#17818)
This commit is contained in:
@@ -188,10 +188,12 @@
|
||||
/area/shuttle/syndicate_scout
|
||||
name = "Syndicate Scout"
|
||||
blob_allowed = FALSE
|
||||
noteleport = TRUE
|
||||
|
||||
/area/shuttle/caravan
|
||||
blob_allowed = FALSE
|
||||
requires_power = TRUE
|
||||
noteleport = TRUE
|
||||
|
||||
/area/shuttle/caravan/syndicate1
|
||||
name = "Syndicate Fighter"
|
||||
|
||||
@@ -23,8 +23,14 @@ GLOBAL_LIST_EMPTY(all_wormholes) // So we can pick wormholes to teleport to
|
||||
|
||||
/datum/round_event/wormholes/start()
|
||||
for(var/turf/open/floor/T in world)
|
||||
if(is_station_level(T.z))
|
||||
pick_turfs += T
|
||||
if(!is_station_level(T.z))
|
||||
continue
|
||||
|
||||
var/area/area = get_area(T)
|
||||
if (!area || area.noteleport)
|
||||
continue
|
||||
|
||||
pick_turfs += T
|
||||
|
||||
for(var/i = 1, i <= number_of_wormholes, i++)
|
||||
var/turf/T = pick(pick_turfs)
|
||||
|
||||
Reference in New Issue
Block a user