From 9ba274a3da14eaa0da19df32fa53345787d81b47 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Tue, 13 Jun 2017 02:45:50 -0500 Subject: [PATCH] Fixes MC panel Location not working while inside containers --- code/modules/mob/mob.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index b890208d2b..f6db425a7d 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -591,7 +591,8 @@ if(client && client.holder) if(statpanel("MC")) - stat("Location:", "([x], [y], [z])") + var/turf/T = get_turf(client.eye) + stat("Location:", COORD(T)) stat("CPU:", "[world.cpu]") stat("Instances:", "[world.contents.len]") GLOB.stat_entry()