Remove Modular Computer Hard Delete (#21590)

Modular computers had a hard delete caused by having any program running
at the time the device was deleted.
This commit is contained in:
VMSolidus
2025-11-17 14:10:43 -05:00
committed by GitHub
parent 5e673ca043
commit 0f4ec435df
2 changed files with 8 additions and 2 deletions
@@ -103,10 +103,12 @@ ABSTRACT_TYPE(/datum/computer_file/program)
crash_with("Comp was not sent for [src.filename]")
/datum/computer_file/program/Destroy()
if(!QDELETED(computer))
if(computer)
computer.idle_threads -= src
computer.enabled_services -= src
set_computer(null)
UnregisterSignal(computer, COMSIG_QDELETING)
computer = null
. = ..()
GC_TEMPORARY_HARDDEL