GC cleanup (#8211)

This commit is contained in:
Cadyn
2024-04-10 22:48:37 -07:00
committed by GitHub
parent 43b856c621
commit 985f3401a9
7 changed files with 29 additions and 2 deletions

View File

@@ -45,6 +45,7 @@
render_target = ref(src)
em_block = new(src, render_target)
add_overlay(list(em_block), TRUE)
RegisterSignal(em_block, COMSIG_PARENT_QDELETING, PROC_REF(emblocker_gc)) //CHOMPEdit deal with emblocker deleting. see atoms_movable_ch.dm
if(opacity)
AddElement(/datum/element/light_blocking)
if(icon_scale_x != DEFAULT_ICON_SCALE_X || icon_scale_y != DEFAULT_ICON_SCALE_Y || icon_rotation != DEFAULT_ICON_ROTATION)