Makes Destroy() a protected proc to safeguard against improper calls (#96331)

This commit is contained in:
mrmanlikesbt
2026-06-04 15:32:12 -04:00
committed by GitHub
parent d55c25d00c
commit 31967bed59
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -374,7 +374,7 @@ SUBSYSTEM_DEF(garbage)
var/start_time = world.time
var/start_tick = world.tick_usage
SEND_SIGNAL(to_delete, COMSIG_QDELETING, force) // Let the (remaining) components know about the result of Destroy
var/hint = to_delete.Destroy(force) // Let our friend know they're about to get fucked up.
var/hint = UNLINT(to_delete.Destroy(force)) // Let our friend know they're about to get fucked up.
if(world.time != start_time)
trash.slept_destroy++