mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Borgs now actually have their module actions revoked upon module removal
This commit is contained in:
@@ -705,6 +705,7 @@
|
||||
for(var/obj/item/O in I) // the things inside the tools, if anything; mainly for janiborg trash bags
|
||||
O.loc = R
|
||||
qdel(I)
|
||||
R.module.remove_subsystems_and_actions(R)
|
||||
qdel(R.module)
|
||||
|
||||
return ..()
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
R.uneq_all()
|
||||
R.hands.icon_state = "nomod"
|
||||
R.icon_state = "robot"
|
||||
R.module.remove_subsystems_and_actions(R)
|
||||
qdel(R.module)
|
||||
R.module = null
|
||||
|
||||
@@ -328,4 +329,4 @@
|
||||
to_chat(cyborg, "<span class='notice'>Self-repair is active in <span class='boldnotice'>[msgmode]</span> mode.</span>")
|
||||
msg_cooldown = world.time
|
||||
else
|
||||
deactivate()
|
||||
deactivate()
|
||||
|
||||
Reference in New Issue
Block a user