Replaces cached get_area vars for names (#34338)

This commit is contained in:
ShizCalev
2018-01-13 20:56:11 -06:00
committed by CitadelStationBot
parent 3a2ac4d102
commit 80095fea0a
21 changed files with 29 additions and 53 deletions
+1 -3
View File
@@ -194,9 +194,7 @@ GLOBAL_DATUM_INIT(crewmonitor, /datum/crewmonitor, new)
if (U.sensor_mode >= SENSOR_COORDS)
if (!pos)
pos = get_turf(H)
var/area/player_area = get_area(H)
area = format_text(player_area.name)
area = get_area_name(H, TRUE)
pos_x = pos.x
pos_y = pos.y
else