Fixes loading ammo for the L6-SAW (#496)
This commit is contained in:
committed by
Poojawa
parent
076562e7fd
commit
afdabc97ec
@@ -333,10 +333,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/obj/item/weapon/gun/ballistic/automatic/l6_saw/attackby(obj/item/A, mob/user, params)
|
/obj/item/weapon/gun/ballistic/automatic/l6_saw/attackby(obj/item/A, mob/user, params)
|
||||||
. = ..()
|
if(!cover_open && istype(A, mag_type))
|
||||||
if(.)
|
|
||||||
return
|
|
||||||
if(!cover_open)
|
|
||||||
to_chat(user, "<span class='warning'>[src]'s cover is closed! You can't insert a new mag.</span>")
|
to_chat(user, "<span class='warning'>[src]'s cover is closed! You can't insert a new mag.</span>")
|
||||||
return
|
return
|
||||||
..()
|
..()
|
||||||
|
|||||||
Reference in New Issue
Block a user