IPC and nuke disk fixes

Fix for IPC revival
Prevents nuke disk from being inserted via cavity surgery
This commit is contained in:
VampyrBytes
2014-08-19 07:06:12 +01:00
parent cfef299686
commit 5b8253fb57
5 changed files with 29 additions and 17 deletions
+3
View File
@@ -630,6 +630,9 @@ obj/structure/cable/proc/cableColor(var/colorC)
if(S.burn_dam > 0 && use(1))
S.heal_damage(0,15,0,1)
user.visible_message("\red \The [user] repairs some burn damage on \the [M]'s [S.display_name] with \the [src].")
if(istype(M,/mob/living/carbon/human))
var/mob/living/carbon/human/H = M
H.updatehealth()
return
else
user << "Nothing to fix!"