Fixing beam rifles lacking pin and pacifism checks. (#12349)

This commit is contained in:
Ghom
2020-05-24 13:29:45 -07:00
committed by GitHub
parent 07df0102f8
commit a41a06bc4b
2 changed files with 6 additions and 7 deletions
+5 -6
View File
@@ -76,17 +76,16 @@
var/datum/action/item_action/toggle_scope_zoom/azoom
var/dualwield_spread_mult = 1 //dualwield spread multiplier
/// Just 'slightly' snowflakey way to modify projectile damage for projectiles fired from this gun.
var/projectile_damage_multiplier = 1
/obj/item/gun/Initialize()
. = ..()
if(pin)
if(no_pin_required)
pin = null
else
pin = new pin(src)
if(no_pin_required)
pin = null
else if(pin)
pin = new pin(src)
if(gun_light)
alight = new (src)
if(zoomable)