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])"