This commit is contained in:
hal9000PR
2021-09-18 15:36:35 +01:00
committed by GitHub
parent c2eb9f1ee9
commit 3c52cea099

View File

@@ -175,7 +175,7 @@
/obj/item/gun/projectile/automatic/m90/attackby(obj/item/A, mob/user, params)
if(istype(A, /obj/item/ammo_casing))
if(istype(A, underbarrel.magazine.ammo_type))
underbarrel.attack_self()
underbarrel.attack_self(user)
underbarrel.attackby(A, user, params)
else
return ..()