Borgs now actually have their module actions revoked upon module removal

This commit is contained in:
Crazylemon64
2017-01-10 00:18:46 -08:00
parent 3408f63f6d
commit 131978db2d
2 changed files with 3 additions and 1 deletions
@@ -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()