mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 06:54:18 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user