module things, jfc
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
scanning = 0
|
||||
|
||||
/obj/item/detective_scanner/afterattack(atom/A, mob/user, params)
|
||||
. = ..()
|
||||
scan(A, user)
|
||||
return FALSE
|
||||
|
||||
@@ -191,6 +192,11 @@
|
||||
to_chat(user, "<span class='notice'>The scanner logs are cleared.</span>")
|
||||
log = list()
|
||||
|
||||
/obj/item/detective_scanner/examine(mob/user)
|
||||
..()
|
||||
if(LAZYLEN(log) && !scanning)
|
||||
to_chat(user, "<span class='notice'>Alt-click to clear scanner logs.</span>")
|
||||
|
||||
/obj/item/detective_scanner/proc/displayDetectiveScanResults(mob/living/user)
|
||||
// No need for can-use checks since the action button should do proper checks
|
||||
if(!LAZYLEN(log))
|
||||
|
||||
Reference in New Issue
Block a user