From d5aa9d33afc4e4b358599aed421e49f3f6b81482 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Tue, 15 Jun 2021 19:13:00 +0200 Subject: [PATCH] [MIRROR] Makes revolvers not drop bullets if you're just flipping it (#6326) * Makes revolvers not drop bullets if you're just flipping it (#59625) * Makes revolvers not drop bullets if you're just flipping it Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> --- code/modules/projectiles/guns/ballistic.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/projectiles/guns/ballistic.dm b/code/modules/projectiles/guns/ballistic.dm index 9bd93bdb60b..c991efbface 100644 --- a/code/modules/projectiles/guns/ballistic.dm +++ b/code/modules/projectiles/guns/ballistic.dm @@ -451,6 +451,7 @@ flip_cooldown = (world.time + 30) user.visible_message("[user] spins the [src] around their finger by the trigger. That’s pretty badass.") playsound(src, 'sound/items/handling/ammobox_pickup.ogg', 20, FALSE) + return if(!internal_magazine && magazine) if(!magazine.ammo_count()) eject_magazine(user)