New limbs can no longer be attached over limb stumps

This commit is contained in:
Anewbe
2017-07-23 15:22:37 -05:00
parent 9055ac6e1e
commit 01e6161d87

View File

@@ -31,6 +31,9 @@
else if((P.robotic >= ORGAN_ROBOT) && (E.robotic < ORGAN_ROBOT))
user << "<span class='warning'>Attaching [E] to [P] wouldn't work well.</span>"
return 0
else if(P.children.len)
user << "<span class='warning'>Something is in the way! You can't attach [E] here!</span>"
return 0
else
return 1