diff --git a/code/defines/procs/statistics.dm b/code/defines/procs/statistics.dm index 3ddef4bbd8f..bc69466bb1e 100644 --- a/code/defines/procs/statistics.dm +++ b/code/defines/procs/statistics.dm @@ -48,8 +48,7 @@ if(!H.key || !H.mind) return - var/turf/T = H.loc - var/area/placeofdeath = get_area(T.loc) + var/area/placeofdeath = get_area(H.loc) var/podname = "Unknown" if(placeofdeath) podname = sanitizeSQL(placeofdeath.name)