Merge pull request #9435 from variableundefined/LegIt

Ensure bola cannot snare anyone without enough legs
This commit is contained in:
Crazy Lemon
2018-08-29 07:58:46 -07:00
committed by GitHub
+1 -1
View File
@@ -160,7 +160,7 @@
if(..() || !iscarbon(hit_atom))//if it gets caught or the target can't be cuffed,
return//abort
var/mob/living/carbon/C = hit_atom
if(!C.legcuffed)
if(!C.legcuffed && C.get_num_legs() >= 2)
visible_message("<span class='danger'>[src] ensnares [C]!</span>")
C.legcuffed = src
forceMove(C)