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:
@@ -215,7 +215,7 @@
|
|||||||
var/loop_counter = 0
|
var/loop_counter = 0
|
||||||
|
|
||||||
bonus_spread += getinaccuracy(user) //CIT CHANGE - adds bonus spread while not aiming
|
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
|
var/mob/living/carbon/human/H = user
|
||||||
for(var/obj/item/gun/G in H.held_items)
|
for(var/obj/item/gun/G in H.held_items)
|
||||||
if(G == src || G.weapon_weight >= WEAPON_MEDIUM)
|
if(G == src || G.weapon_weight >= WEAPON_MEDIUM)
|
||||||
|
|||||||
Reference in New Issue
Block a user