From 5ddcc63b83d969fc19237339e683ea438864ee13 Mon Sep 17 00:00:00 2001 From: Pete Goodfellow Date: Mon, 11 Mar 2013 04:52:53 +0000 Subject: [PATCH] Removes an unnecessary check from the gun afterattack(). flag does handle rechargers. --- code/modules/projectiles/gun.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/projectiles/gun.dm b/code/modules/projectiles/gun.dm index 61a234c4d1c..728ad546191 100644 --- a/code/modules/projectiles/gun.dm +++ b/code/modules/projectiles/gun.dm @@ -37,8 +37,8 @@ afterattack(atom/target as mob|obj|turf, mob/living/user as mob|obj, flag, params)//TODO: go over this - if(flag) return //we're placing gun on a table or in backpack - if(istype(target, /obj/machinery/recharger) && istype(src, /obj/item/weapon/gun/energy)) return//Shouldnt flag take care of this? + if(flag) //we're placing gun on a table or in backpack + return //Exclude lasertag guns from the CLUMSY check. if(clumsy_check)