fixes tele-comp not checking power on initialize()

prevents exploiting the computer back on while area power is off
This commit is contained in:
Walter0o
2014-08-10 02:07:13 +02:00
parent 882d505824
commit 852cccf94a

View File

@@ -17,6 +17,7 @@
return
/obj/machinery/computer/teleporter/initialize()
..()
var/obj/machinery/teleport/station/station = locate(/obj/machinery/teleport/station, get_step(src, dir))
var/obj/machinery/teleport/hub/hub
if(station)