mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
Fixes two status effect related hard deletes (#70026)
This commit is contained in:
@@ -303,6 +303,11 @@ or shoot a gun to move around via Newton's 3rd Law of Motion."
|
||||
var/mob/living/carbon/offerer
|
||||
var/obj/item/receiving
|
||||
|
||||
/atom/movable/screen/alert/give/Destroy()
|
||||
offerer = null
|
||||
receiving = null
|
||||
return ..()
|
||||
|
||||
/**
|
||||
* Handles assigning most of the variables for the alert that pops up when an item is offered
|
||||
*
|
||||
|
||||
@@ -110,6 +110,7 @@
|
||||
/// or when a status effect with on_remove_on_mob_delete
|
||||
/// set to FALSE has its mob deleted
|
||||
/datum/status_effect/proc/be_replaced()
|
||||
linked_alert = null
|
||||
owner.clear_alert(id)
|
||||
LAZYREMOVE(owner.status_effects, src)
|
||||
owner = null
|
||||
|
||||
Reference in New Issue
Block a user