xm157 - Fix latitude calc for maps not in getMapData (#9188)

This commit is contained in:
PabstMirror 2023-04-27 20:18:12 -05:00 committed by GitHub
parent b78f8684b7
commit 9e42c53196
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,8 +3,7 @@
GVAR(shown) = false; GVAR(shown) = false;
GVAR(data) = createHashMap; GVAR(data) = createHashMap;
([worldName] call EFUNC(common,getMapData)) params ["_latitude"]; GVAR(data) set ["latitude", EGVAR(common,mapLatitude)];
GVAR(data) set ["latitude", _latitude];
// Add Keybinds // Add Keybinds