From c2b4e9ec69dbacfa3419d88e82679056a9298f93 Mon Sep 17 00:00:00 2001 From: Leland Kemble <70413276+lelandkemble@users.noreply.github.com> Date: Tue, 23 Jun 2026 10:44:32 -0400 Subject: [PATCH] Fixes runtime when attempting to use farsight inside something (#96622) ## About The Pull Request farsight only has effects on the user's client, no reason it should ever effect anything the user's inside ## Why It's Good For The Game image ## Changelog :cl: fix: fixed a runtime when attempting to use the farsight mutation while inside something /:cl: --- code/datums/mutations/farsight.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/datums/mutations/farsight.dm b/code/datums/mutations/farsight.dm index d246264bd12..b95801a480a 100644 --- a/code/datums/mutations/farsight.dm +++ b/code/datums/mutations/farsight.dm @@ -57,6 +57,9 @@ cooldown_time *= 0.5 build_all_button_icons(UPDATE_BUTTON_STATUS) +/datum/action/cooldown/spell/farsight/get_caster_from_target(atom/target) + return target // This ability only effect's the caster's client, no reason to try and fail to effect the closet or mech we're inside. + /datum/action/cooldown/spell/farsight/is_action_active(atom/movable/screen/movable/action_button/current_button) return active