mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
Makes Destroy() a protected proc to safeguard against improper calls (#96331)
This commit is contained in:
@@ -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++
|
||||
|
||||
Reference in New Issue
Block a user