Fixes aut'akh repair (#6104)

This pr allow aut'akh to repair their assisted organs without having to do impossible robotics surgery on them.
This commit is contained in:
Alberyk
2019-03-01 19:55:24 +02:00
committed by Erki
parent ae5a8ad21a
commit 35822ec970
3 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -314,7 +314,7 @@
// Welder is switched off!
user << "<span class='warning'>You need to light the welding tool, first!</span>"
return
if(S.brute_dam > ROBOLIMB_SELF_REPAIR_CAP)
if(S.brute_dam > ROBOLIMB_SELF_REPAIR_CAP && (S.status & ORGAN_ROBOT))
user << "<span class='warning'>The damage is far too severe to patch over externally.</span>"
return
if (src.remove_fuel(0))