mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Fixed weapon use by borgs.
This commit is contained in:
@@ -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>"
|
||||
|
||||
Reference in New Issue
Block a user