From 825bbb13fe9ba60749cd5d351f4c0f0bcd1f2848 Mon Sep 17 00:00:00 2001 From: Joan Lung Date: Fri, 7 Apr 2017 12:42:49 -0400 Subject: [PATCH] GLEB --- code/game/objects/items/devices/gps.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/objects/items/devices/gps.dm b/code/game/objects/items/devices/gps.dm index be336ace669..0e112ecaed3 100644 --- a/code/game/objects/items/devices/gps.dm +++ b/code/game/objects/items/devices/gps.dm @@ -54,7 +54,7 @@ GLOBAL_LIST_EMPTY(GPS_list) return var/obj/item/device/gps/t = "" - var/gps_window_height = 110 + GPS_list.len * 20 // Variable window height, depending on how many GPS units there are to show + var/gps_window_height = 110 + GLOB.GPS_list.len * 20 // Variable window height, depending on how many GPS units there are to show if(emped) t += "ERROR" else @@ -64,7 +64,7 @@ GLOBAL_LIST_EMPTY(GPS_list) t += "
Bluespace coordinates saved: [locked_location.loc]" gps_window_height += 20 - for(var/obj/item/device/gps/G in GPS_list) + for(var/obj/item/device/gps/G in GLOB.GPS_list) var/turf/pos = get_turf(G) var/area/gps_area = get_area(G) var/tracked_gpstag = G.gpstag