mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge pull request #6093 from Heroman3003/zpipe-fix
Fixes newly constructed vertical pipes being invisible
This commit is contained in:
@@ -26,7 +26,6 @@ obj/machinery/atmospherics/pipe/zpipe
|
||||
var/fatigue_pressure = 55*ONE_ATMOSPHERE
|
||||
alert_pressure = 55*ONE_ATMOSPHERE
|
||||
|
||||
|
||||
level = 1
|
||||
|
||||
/obj/machinery/atmospherics/pipe/zpipe/New()
|
||||
@@ -152,7 +151,7 @@ obj/machinery/atmospherics/pipe/zpipe/up/atmos_init()
|
||||
|
||||
|
||||
var/turf/T = src.loc // hide if turf is not intact
|
||||
hide(!T.is_plating())
|
||||
if(level == 1 && !T.is_plating()) hide(1) // but respect level
|
||||
|
||||
///////////////////////
|
||||
// and the down pipe //
|
||||
@@ -189,7 +188,7 @@ obj/machinery/atmospherics/pipe/zpipe/down/atmos_init()
|
||||
|
||||
|
||||
var/turf/T = src.loc // hide if turf is not intact
|
||||
hide(!T.is_plating())
|
||||
if(level == 1 && !T.is_plating()) hide(1) // but respect level
|
||||
|
||||
///////////////////////
|
||||
// supply/scrubbers //
|
||||
|
||||
Reference in New Issue
Block a user