Update gateway.dm

This commit is contained in:
kevinz000
2017-04-02 03:34:51 -07:00
committed by GitHub
parent 3779093225
commit 58f595780e
+4 -3
View File
@@ -18,9 +18,10 @@ var/obj/machinery/gateway/centerstation/the_gateway = null
/obj/machinery/gateway/Initialize()
randomspawns = awaydestinations
update_icon()
switch(dir)
if(SOUTH,SOUTHEAST,SOUTHWEST)
density = 0
if(!istype(src, /obj/machinery/gateway/centerstation) && !istype(src, /obj/machinery/gateway/centeraway))
switch(dir)
if(SOUTH,SOUTHEAST,SOUTHWEST)
density = 0
..()
/obj/machinery/gateway/proc/toggleoff()