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 -2
View File
@@ -262,8 +262,7 @@
/obj/machinery/computer/bsa_control/proc/get_target_name()
if(istype(target, /area))
var/area/A = target
return A.name
return get_area_name(target, TRUE)
else if(istype(target, /obj/item/device/gps))
var/obj/item/device/gps/G = target
return G.gpstag