[MIRROR] Converts screen hardref to a weakref (#12733)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-05-03 20:28:31 -04:00
committed by GitHub
co-authored by Cameron Lennox
parent 71a7f938e2
commit 775398d92d
8 changed files with 35 additions and 23 deletions
+3 -2
View File
@@ -653,8 +653,9 @@
else if(alerts && alerts["leashed"])
var/atom/movable/screen/alert/leash_pet/pet_alert = src.alerts["leashed"]
var/obj/item/leash/owner = pet_alert.master
owner.clear_leash()
var/obj/item/leash/owner = pet_alert.master_ref?.resolve()
if(owner)
owner.clear_leash()
log_and_message_admins("used the OOC escape button to get out of a leash.", src)
//Don't appear to be in a vore situation