Fixes R-UT EMP breaking consoles

This commit is contained in:
Michael Gosselin
2018-06-27 19:19:21 -04:00
parent 3279e7d39f
commit a858517c14
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
//
//Patching some things in R-UST for Yawn Wider - Gozulio
//
/obj/machinery/computer/fusion_core_control/emp_act(severity)
..()
timedEmp()
/obj/machinery/computer/fusion_fuel_control/emp_act(severity)
..()
timedEmp()
/obj/machinery/computer/gyrotron_control/emp_act(severity)
..()
timedEmp()
/obj/machinery/computer/proc/timedEmp()
var/emptime = rand(10)
sleep(emptime)
stat &= ~BROKEN
update_icon()