mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
Removes most hard-coded z level checks
This commit is contained in:
@@ -316,8 +316,7 @@
|
||||
if(shuttle_master.supply.mode == SHUTTLE_CALL)
|
||||
supplyData["shuttle_moving"] = 1
|
||||
|
||||
// TODO: Tie into space manager
|
||||
if(shuttle_master.supply.z != ZLEVEL_STATION)
|
||||
if(!is_station_level(shuttle_master.supply.z))
|
||||
supplyData["shuttle_loc"] = "station"
|
||||
else
|
||||
supplyData["shuttle_loc"] = "centcom"
|
||||
|
||||
@@ -158,7 +158,7 @@
|
||||
if(signal.data["done"])
|
||||
useTC = 1
|
||||
var/turf/pos = get_turf(P)
|
||||
// TODO: Tie into space manager
|
||||
// TODO: Make the radio system cooperate with the space manager
|
||||
if(pos.z in signal.data["level"])
|
||||
useTC = 2
|
||||
//Let's make this barely readable
|
||||
|
||||
Reference in New Issue
Block a user