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:
Leshana
2017-04-21 21:20:49 -04:00
parent b8d9c95445
commit 23bcfbe28c

View File

@@ -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)