ace_tagCreated EH not fire x (#9025)

This commit is contained in:
Vdauphin 2022-09-06 21:37:24 +02:00 committed by GitHub
parent f734fa9e86
commit 8a949d4f24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,7 @@ if (_isVehicleTag) exitWith {
TRACE_3("tagging vehicle",_object,typeOf _object,_texture); TRACE_3("tagging vehicle",_object,typeOf _object,_texture);
_object setObjectTextureGlobal [getText (configOf _object >> "selectionClan"), _texture]; _object setObjectTextureGlobal [getText (configOf _object >> "selectionClan"), _texture];
// if (_material != "") then { _object setObjectMaterialGlobal ["clan", _material] }; // ?? // if (_material != "") then { _object setObjectMaterialGlobal ["clan", _material] }; // ??
["ace_tagCreated", [objNull, _texture, _object, _unit]] call CBA_fnc_globalEvent;
}; };
private _tag = createSimpleObject [_tagModel, _tagPosASL]; private _tag = createSimpleObject [_tagModel, _tagPosASL];