From ecf9e538ede382a7e4be1d647b355ea0eed97c64 Mon Sep 17 00:00:00 2001 From: Rob Bailey Date: Mon, 4 Feb 2019 12:32:52 -0800 Subject: [PATCH] Gun (Hot)Fixes (#42666) Fixes my broken bullshit. --- code/modules/projectiles/guns/ballistic.dm | 2 +- code/modules/projectiles/guns/ballistic/automatic.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/projectiles/guns/ballistic.dm b/code/modules/projectiles/guns/ballistic.dm index edf4560e8ba..27f3f7e0ece 100644 --- a/code/modules/projectiles/guns/ballistic.dm +++ b/code/modules/projectiles/guns/ballistic.dm @@ -182,7 +182,7 @@ update_icon() /obj/item/gun/ballistic/can_shoot() - return (chambered || magazine || magazine.ammo_count(FALSE)) + return chambered /obj/item/gun/ballistic/attackby(obj/item/A, mob/user, params) ..() diff --git a/code/modules/projectiles/guns/ballistic/automatic.dm b/code/modules/projectiles/guns/ballistic/automatic.dm index e65a59a11dd..55631a003f7 100644 --- a/code/modules/projectiles/guns/ballistic/automatic.dm +++ b/code/modules/projectiles/guns/ballistic/automatic.dm @@ -268,7 +268,7 @@ ..() return if (!cover_open) - to_chat("[src]'s cover is closed! Open it before trying to remove the magazine!") + to_chat(user, "[src]'s cover is closed! Open it before trying to remove the magazine!") return ..()