mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
#2872-Map time support for subclasses of ItemWatch
This commit is contained in:
parent
cfefb1c40e
commit
575fabb69d
@ -139,5 +139,9 @@ GVAR(hasWatch) = true;
|
|||||||
if (isNull (_this select 0)) exitWith {
|
if (isNull (_this select 0)) exitWith {
|
||||||
GVAR(hasWatch) = true;
|
GVAR(hasWatch) = true;
|
||||||
};
|
};
|
||||||
GVAR(hasWatch) = "ItemWatch" in (_this select 1 select 17);
|
GVAR(hasWatch) = false;
|
||||||
|
{
|
||||||
|
if (_x isKindOf ["ItemWatch", configFile >> "CfgWeapons"]) exitWith {GVAR(hasWatch) = true;};
|
||||||
|
false
|
||||||
|
} count (assignedItems ACE_player);
|
||||||
}] call EFUNC(common,addEventHandler);
|
}] call EFUNC(common,addEventHandler);
|
||||||
|
Loading…
Reference in New Issue
Block a user