mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-25 01:22:24 +00:00
Mob inventory cleanup
This commit is contained in:
@@ -113,7 +113,8 @@ obj/aiming_overlay/proc/update_aiming_deferred()
|
||||
|
||||
var/cancel_aim = 1
|
||||
|
||||
if(!(aiming_with in owner) || (istype(owner, /mob/living/carbon/human) && (owner.l_hand != aiming_with && owner.r_hand != aiming_with)))
|
||||
var/mob/living/carbon/human/H = owner
|
||||
if(!(aiming_with in owner) || (istype(H) && !H.item_is_in_hands(aiming_with)))
|
||||
owner << "<span class='warning'>You must keep hold of your weapon!</span>"
|
||||
else if(owner.eye_blind)
|
||||
owner << "<span class='warning'>You are blind and cannot see your target!</span>"
|
||||
|
||||
Reference in New Issue
Block a user