mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
fixes tele-comp not checking power on initialize()
prevents exploiting the computer back on while area power is off
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
return
|
return
|
||||||
|
|
||||||
/obj/machinery/computer/teleporter/initialize()
|
/obj/machinery/computer/teleporter/initialize()
|
||||||
|
..()
|
||||||
var/obj/machinery/teleport/station/station = locate(/obj/machinery/teleport/station, get_step(src, dir))
|
var/obj/machinery/teleport/station/station = locate(/obj/machinery/teleport/station, get_step(src, dir))
|
||||||
var/obj/machinery/teleport/hub/hub
|
var/obj/machinery/teleport/hub/hub
|
||||||
if(station)
|
if(station)
|
||||||
|
|||||||
Reference in New Issue
Block a user