From 9e42c53196f8a92c7a2f6246eeb207f58183003a Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Thu, 27 Apr 2023 20:18:12 -0500 Subject: [PATCH] xm157 - Fix latitude calc for maps not in `getMapData` (#9188) --- addons/xm157/XEH_postInit.sqf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/xm157/XEH_postInit.sqf b/addons/xm157/XEH_postInit.sqf index 5f00e3209f..8b77f466c8 100644 --- a/addons/xm157/XEH_postInit.sqf +++ b/addons/xm157/XEH_postInit.sqf @@ -3,8 +3,7 @@ GVAR(shown) = false; GVAR(data) = createHashMap; -([worldName] call EFUNC(common,getMapData)) params ["_latitude"]; -GVAR(data) set ["latitude", _latitude]; +GVAR(data) set ["latitude", EGVAR(common,mapLatitude)]; // Add Keybinds