Revert it to this.

This commit is contained in:
ESwordTheCat
2014-06-19 07:25:26 -08:00
committed by ZomgPonies
parent d81d1736fc
commit d17486b635
@@ -16,9 +16,6 @@
return src.interact(user)
/obj/item/device/ano_scanner/interact(var/mob/user as mob)
if(world.time - last_scan_time >= scan_delay)
scan()
var/message = "Background radiation levels detected."
if(nearest_artifact_distance >= 0)
@@ -26,6 +23,10 @@
user << "<span class='info'>[message]</span>"
if(world.time - last_scan_time >= scan_delay)
spawn(0)
scan()
/obj/item/device/ano_scanner/proc/scan()
last_scan_time = world.time
nearest_artifact_distance = -1