From d9cddefd55418531eb7240c51365b4233029f7ff Mon Sep 17 00:00:00 2001
From: NovaBot <154629622+NovaBot13@users.noreply.github.com>
Date: Thu, 8 Feb 2024 21:47:23 -0500
Subject: [PATCH] [MIRROR] Fix finger gun chat messages (#853)
* Fix finger gun chat messages (#81347)
## About The Pull Request
It should not say "[the guy that you're aiming at] fires their gun"
## Changelog
:cl: Melbert
fix: Fixed Finger Guns giving a misleading chat message
/:cl:
* Fix finger gun chat messages
---------
Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
---
code/modules/spells/spell_types/pointed/finger_guns.dm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/code/modules/spells/spell_types/pointed/finger_guns.dm b/code/modules/spells/spell_types/pointed/finger_guns.dm
index 5ed666d9e64..24f51a0e908 100644
--- a/code/modules/spells/spell_types/pointed/finger_guns.dm
+++ b/code/modules/spells/spell_types/pointed/finger_guns.dm
@@ -46,4 +46,7 @@
/datum/action/cooldown/spell/pointed/projectile/finger_guns/before_cast(atom/cast_on)
. = ..()
- invocation = span_notice("[cast_on] fires [cast_on.p_their()] finger gun!")
+ if(isnull(owner))
+ invocation = initial(invocation)
+ else
+ invocation = span_notice("[owner] fires [owner.p_their()] finger gun!")