From c6521a489333f9d9db78484875cd8a6f1229d648 Mon Sep 17 00:00:00 2001 From: Doubleumc Date: Sun, 19 May 2024 17:12:16 -0400 Subject: [PATCH] Ghost health scan usable range increase (#6307) # About the pull request The "Scan Health" verb can now be used by ghosts on any visible mob. # Explain why it's good for the game Currently ghost's "Scan Health" only works on mobs that are within the default view distance, even though ghosts can zoom out significantly farther. This allows the ghost to scan anything their client can see. # Testing Photographs and Procedure
Screenshots & Videos Put screenshots and videos here with an empty line between the screenshots and the `
` tags.
# Changelog :cl: qol: ghost "Scan Health" works at any range /:cl: --- code/modules/mob/dead/observer/observer.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/dead/observer/observer.dm b/code/modules/mob/dead/observer/observer.dm index 218b254e7fb1..e974a93553a3 100644 --- a/code/modules/mob/dead/observer/observer.dm +++ b/code/modules/mob/dead/observer/observer.dm @@ -655,7 +655,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp usr.forceMove(pick(L)) following = null -/mob/dead/observer/proc/scan_health(mob/living/target in oview()) +/mob/dead/observer/proc/scan_health(mob/living/target in view(src.client)) set name = "Scan Health" if(!istype(target))