Map Tools - Improve modded maps support (#8729)

This commit is contained in:
Filip Maciejewski 2021-12-07 22:06:15 +01:00 committed by GitHub
parent 59fe345f60
commit e0df864a5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,13 +17,7 @@
visibleMap && visibleMap &&
{alive ACE_player} && {alive ACE_player} &&
{ {getText (configFile >> "CfgWeapons" >> (assignedItems ACE_player param [0, ""]) >> "simulation") == "ItemMap"} &&
scopeName "hasMap";
{
if (_x isKindOf ["ItemMap", configFile >> "CfgWeapons"]) exitWith {true breakOut "hasMap"};
} forEach (assignedItems ACE_player);
false
} &&
{"ACE_MapTools" in (ACE_player call EFUNC(common,uniqueItems))} && {"ACE_MapTools" in (ACE_player call EFUNC(common,uniqueItems))} &&
{!GVAR(mapTool_isDragging)} && {!GVAR(mapTool_isDragging)} &&
{!GVAR(mapTool_isRotating)} {!GVAR(mapTool_isRotating)}