From 3ca5d74ed6f469a8ab29d539772572ffab1ec783 Mon Sep 17 00:00:00 2001 From: KorPhaeron Date: Mon, 7 Dec 2015 16:04:15 -0600 Subject: [PATCH] Runtime fix --- code/__HELPERS/mobs.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/__HELPERS/mobs.dm b/code/__HELPERS/mobs.dm index fc01c6cef88..72ab4f9bdf3 100644 --- a/code/__HELPERS/mobs.dm +++ b/code/__HELPERS/mobs.dm @@ -130,7 +130,8 @@ Proc for attack log creation, because really why not /proc/add_logs(mob/user, mob/target, what_done, object=null, addition=null) var/newhealthtxt = "" - var/coordinates = "([target.x],[target.y],[target.z])" + var/turf/attack_location = get_turf(target) + var/coordinates = "([attack_location.x],[attack_location.y],[attack_location.z])" if (target && isliving(target)) var/mob/living/L = target newhealthtxt = " (NEWHP: [L.health])"