Fixed weapon use by borgs.

This commit is contained in:
Zuhayr
2015-12-25 09:33:07 +10:30
parent 9df402b0de
commit 9f729aad0c

View File

@@ -112,7 +112,8 @@ obj/aiming_overlay/proc/update_aiming_deferred()
update_icon()
var/cancel_aim = 1
if(!(aiming_with in owner) || (owner.l_hand != aiming_with && owner.r_hand != aiming_with))
if(!(aiming_with in owner) || (istype(owner, /mob/living/carbon/human) && (owner.l_hand != aiming_with && owner.r_hand != aiming_with)))
owner << "<span class='warning'>You must keep hold of your weapon!</span>"
else if(!aiming_at || !istype(aiming_at.loc, /turf))
owner << "<span class='warning'>You have lost sight of your target!</span>"