mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
@@ -41,6 +41,9 @@
|
||||
LAZYREMOVE(owner.status_effects, src)
|
||||
on_remove()
|
||||
owner = null
|
||||
if(linked_alert)
|
||||
linked_alert.attached_effect = null
|
||||
linked_alert = null
|
||||
return ..()
|
||||
|
||||
/datum/status_effect/process()
|
||||
@@ -85,6 +88,13 @@
|
||||
desc = "You don't feel any different..."
|
||||
var/datum/status_effect/attached_effect
|
||||
|
||||
/obj/screen/alert/status_effect/Destroy()
|
||||
if(attached_effect)
|
||||
attached_effect.linked_alert = null
|
||||
attached_effect = null
|
||||
return ..()
|
||||
|
||||
|
||||
//////////////////
|
||||
// HELPER PROCS //
|
||||
//////////////////
|
||||
|
||||
Reference in New Issue
Block a user