Fixes loading ammo for the L6-SAW (#26370)

This commit is contained in:
QualityVan
2017-04-20 15:31:02 -04:00
committed by KorPhaeron
parent 2b66877623
commit f23a31edfa

View File

@@ -333,10 +333,7 @@
/obj/item/weapon/gun/ballistic/automatic/l6_saw/attackby(obj/item/A, mob/user, params)
. = ..()
if(.)
return
if(!cover_open)
if(!cover_open && istype(A, mag_type))
to_chat(user, "<span class='warning'>[src]'s cover is closed! You can't insert a new mag.</span>")
return
..()