mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 23:53:47 +01:00
fixes a radial menu gc false positive (#25237)
This commit is contained in:
@@ -10,6 +10,7 @@ GLOBAL_LIST_EMPTY(radial_menus)
|
||||
var/datum/radial_menu/parent
|
||||
|
||||
/atom/movable/screen/radial/Destroy()
|
||||
parent.current_user.screen -= src
|
||||
parent = null
|
||||
return ..()
|
||||
|
||||
@@ -245,7 +246,7 @@ GLOBAL_LIST_EMPTY(radial_menus)
|
||||
QDEL_LIST_CONTENTS(elements)
|
||||
QDEL_NULL(close_button)
|
||||
anchor = null
|
||||
. = ..()
|
||||
return ..()
|
||||
|
||||
/*
|
||||
Presents radial menu to user anchored to anchor (or user if the anchor is currently in users screen)
|
||||
|
||||
Reference in New Issue
Block a user