mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Revert it to this.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user