Makes gun weight akimbo restrictions work the other way around. (#12297)

* Makes gun weight akimbo restrictions work the other way around.

* web edits
This commit is contained in:
Ghom
2020-05-24 22:19:28 +02:00
committed by GitHub
parent 292f1afa3c
commit c8cd97351d

View File

@@ -215,7 +215,7 @@
var/loop_counter = 0
bonus_spread += getinaccuracy(user) //CIT CHANGE - adds bonus spread while not aiming
if(ishuman(user) && user.a_intent == INTENT_HARM)
if(ishuman(user) && user.a_intent == INTENT_HARM && weapon_weight <= WEAPON_LIGHT)
var/mob/living/carbon/human/H = user
for(var/obj/item/gun/G in H.held_items)
if(G == src || G.weapon_weight >= WEAPON_MEDIUM)