mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Fixes eye of god not sending a message when its scan recharges (#69042)
* Fixes eye of god not sending a message when its scan recharges Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
@@ -780,11 +780,14 @@
|
||||
|
||||
owner.playsound_local(get_turf(owner), 'sound/magic/smoke.ogg', 50, TRUE)
|
||||
owner.balloon_alert(owner, "[living_scanned] scanned")
|
||||
addtimer(CALLBACK(src, /atom/.proc/balloon_alert, owner, "scan recharged"), cooldown_time)
|
||||
addtimer(CALLBACK(src, .proc/send_cooldown_end_message, cooldown_time))
|
||||
|
||||
StartCooldown()
|
||||
return TRUE
|
||||
|
||||
/datum/action/cooldown/scan/proc/send_cooldown_end_message()
|
||||
owner?.balloon_alert(owner, "scan recharged")
|
||||
|
||||
/datum/status_effect/agent_pinpointer/scan
|
||||
duration = 15 SECONDS
|
||||
alert_type = /atom/movable/screen/alert/status_effect/agent_pinpointer/scan
|
||||
|
||||
Reference in New Issue
Block a user