Removes spawn() from some things

Yay, refactoring.
This commit is contained in:
Jack Edge
2016-06-05 20:08:36 +01:00
parent 94a5d5bfad
commit a01b48aa48
12 changed files with 134 additions and 112 deletions
+7 -5
View File
@@ -23,13 +23,15 @@ var/list/GPS_list = list()
return ..()
/obj/item/device/gps/emp_act(severity)
emped = 1
emped = TRUE
overlays -= "working"
overlays += "emp"
spawn(300)
emped = 0
overlays -= "emp"
overlays += "working"
addtimer(src, "reboot", 300)
/obj/item/device/gps/proc/reboot()
emped = FALSE
overlays -= "emp"
overlays += "working"
/obj/item/device/gps/AltClick(mob/user)
if(!user.canUseTopic(src, be_close=TRUE))