mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Map Tools - Improve modded maps support (#8729)
This commit is contained in:
parent
59fe345f60
commit
e0df864a5d
@ -17,13 +17,7 @@
|
||||
|
||||
visibleMap &&
|
||||
{alive ACE_player} &&
|
||||
{
|
||||
scopeName "hasMap";
|
||||
{
|
||||
if (_x isKindOf ["ItemMap", configFile >> "CfgWeapons"]) exitWith {true breakOut "hasMap"};
|
||||
} forEach (assignedItems ACE_player);
|
||||
false
|
||||
} &&
|
||||
{getText (configFile >> "CfgWeapons" >> (assignedItems ACE_player param [0, ""]) >> "simulation") == "ItemMap"} &&
|
||||
{"ACE_MapTools" in (ACE_player call EFUNC(common,uniqueItems))} &&
|
||||
{!GVAR(mapTool_isDragging)} &&
|
||||
{!GVAR(mapTool_isRotating)}
|
||||
|
Loading…
Reference in New Issue
Block a user