sanity check

This commit is contained in:
Linzolle
2020-02-13 15:20:01 -06:00
parent 083a6e4c19
commit 790b7bf9cc
2 changed files with 6 additions and 3 deletions

View File

@@ -79,8 +79,11 @@
/obj/item/gun/Initialize()
. = ..()
if(pin && !no_pin_required)
pin = new pin(src)
if(pin)
if(no_pin_required)
pin = null
else
pin = new pin(src)
if(gun_light)
alight = new (src)
if(zoomable)