mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Fix typo in zpipe proc name.
* The proc obj/machinery/atmospherics/pipe/up/process was supposed to be obj/machinery/atmospherics/pipe/zpipe/process. * Also changed hard coded integers to use constants while I was editing the file anyway.
This commit is contained in:
@@ -51,7 +51,7 @@ obj/machinery/atmospherics/pipe/zpipe/New()
|
|||||||
invisibility = i ? 101 : 0
|
invisibility = i ? 101 : 0
|
||||||
update_icon()
|
update_icon()
|
||||||
|
|
||||||
obj/machinery/atmospherics/pipe/up/process()
|
obj/machinery/atmospherics/pipe/zpipe/process()
|
||||||
if(!parent) //This should cut back on the overhead calling build_network thousands of times per cycle
|
if(!parent) //This should cut back on the overhead calling build_network thousands of times per cycle
|
||||||
..()
|
..()
|
||||||
else
|
else
|
||||||
@@ -81,10 +81,10 @@ obj/machinery/atmospherics/pipe/zpipe/proc/burst()
|
|||||||
qdel(src) // NOT qdel.
|
qdel(src) // NOT qdel.
|
||||||
|
|
||||||
obj/machinery/atmospherics/pipe/zpipe/proc/normalize_dir()
|
obj/machinery/atmospherics/pipe/zpipe/proc/normalize_dir()
|
||||||
if(dir==3)
|
if(dir == (NORTH|SOUTH))
|
||||||
set_dir(1)
|
set_dir(NORTH)
|
||||||
else if(dir==12)
|
else if(dir == (EAST|WEST))
|
||||||
set_dir(4)
|
set_dir(EAST)
|
||||||
|
|
||||||
obj/machinery/atmospherics/pipe/zpipe/Destroy()
|
obj/machinery/atmospherics/pipe/zpipe/Destroy()
|
||||||
if(node1)
|
if(node1)
|
||||||
|
|||||||
Reference in New Issue
Block a user