Merge pull request #14336 from VOREStation/upstream-merge-8870

[MIRROR] Repairing light robotic damage messaging fix
This commit is contained in:
Heroman3003
2023-01-19 13:20:04 +10:00
committed by GitHub
2 changed files with 9 additions and 8 deletions
@@ -79,21 +79,21 @@
if(S.organ_tag == BP_HEAD)
if(H.head && istype(H.head,/obj/item/clothing/head/helmet/space))
to_chat(user, "<span class='warning'>You can't apply [src] through [H.head]!</span>")
return 1
return TRUE
else
if(H.wear_suit && istype(H.wear_suit,/obj/item/clothing/suit/space))
to_chat(user, "<span class='warning'>You can't apply [src] through [H.wear_suit]!</span>")
return 1
return TRUE
if(!welding)
to_chat(user, "<span class='warning'>You'll need to turn [src] on to patch the damage on [H]'s [S.name]!</span>")
return 1
return TRUE
if(S.robo_repair(15, BRUTE, "some dents", src, user))
remove_fuel(1, user)
return 1
return TRUE
else
return 1 //Stops you from accidentally harming someone while on help intent.
return TRUE //Stops you from accidentally harming someone while on help intent.
return ..()