Ensure bola cannot snare anyone without enough legs

This commit is contained in:
variableundefined
2018-08-28 22:35:31 +08:00
parent 6e015ea227
commit b874549978
+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)