QDEL'd actions no longer get readded to the HUD (#17317)

* Atomization

* sadf

---------

Co-authored-by: FluffyGhost <FluffyGhost>
This commit is contained in:
Fluffy
2023-09-11 10:22:18 +00:00
committed by GitHub
co-authored by FluffyGhost <FluffyGhost>
parent b0514ad186
commit 4528b289f3
2 changed files with 44 additions and 0 deletions
@@ -393,6 +393,9 @@
var/button_number = 0
for(var/datum/action/A in actions)
if(QDELETED(A))
continue
button_number++
if(A.button == null)
var/obj/screen/movable/action_button/N = new(hud_used)