Allows robot organs to die (#22739)

Fixes robot organs continuing to process after death.

Stops this:
<img width="790" height="331" alt="image"
src="https://github.com/user-attachments/assets/5f8db817-0a8d-4263-90f4-74a18da78d9a"
/>
This commit is contained in:
FenodyreeAv
2026-06-22 13:52:28 +00:00
committed by GitHub
parent 246ddc9730
commit 012a05ff79
3 changed files with 8 additions and 0 deletions
+1
View File
@@ -156,6 +156,7 @@
user.visible_message("<b>[user]</b> repairs [target]'s [I.name] with [tool].", \
SPAN_NOTICE("You repair [target]'s [I.name] with [tool].") )
I.surgical_fix(user)
START_PROCESSING(SSprocessing, I)
if(istype(tool, /obj/item/stack/nanopaste))
var/obj/item/stack/nanopaste/nanopaste = tool
nanopaste.use(1)