Merge pull request #12007 from Citadel-Station-13/Ghommie-patch-1

Fixing robo limb burn damage being unfixable.
This commit is contained in:
Lin
2020-04-25 18:37:35 +00:00
committed by GitHub

View File

@@ -533,7 +533,7 @@ By design, d1 is the smallest direction and d2 is the highest
if(affecting && affecting.status == BODYPART_ROBOTIC)
if(user == H)
user.visible_message("<span class='notice'>[user] starts to fix some of the wires in [H]'s [affecting.name].</span>", "<span class='notice'>You start fixing some of the wires in [H]'s [affecting.name].</span>")
if(!do_after(user, H, 50))
if(!do_mob(user, H, 50))
return
if(item_heal_robotic(H, user, 0, 15))
use(1)