diff --git a/addons/modules/functions/fnc_moduleAttachFlag.sqf b/addons/modules/functions/fnc_moduleAttachFlag.sqf index aa5be5f29..217c6a6ed 100644 --- a/addons/modules/functions/fnc_moduleAttachFlag.sqf +++ b/addons/modules/functions/fnc_moduleAttachFlag.sqf @@ -28,8 +28,8 @@ if !(alive _object) exitWith { [LSTRING(OnlyAlive)] call EFUNC(common,showMessage); }; -if !(_object isKindOf "AllVehicles") exitWith { - [LSTRING(OnlyVehicles)] call EFUNC(common,showMessage); +if !(_object isKindOf "AllVehicles" || {_object isKindOf "FlagCarrier"}) exitWith { + [LSTRING(OnlyVehiclesOrFlags)] call EFUNC(common,showMessage); }; private _flagsCache = +(uiNamespace getVariable QGVAR(flagsCache)); diff --git a/addons/modules/stringtable.xml b/addons/modules/stringtable.xml index b83f4819c..a81d0304e 100644 --- a/addons/modules/stringtable.xml +++ b/addons/modules/stringtable.xml @@ -3441,6 +3441,9 @@ 單位必須是載具 ユニットは車両である必要があります + + Unit must be a vehicle or flag + The unit must be an aircraft Применимо только к воздушной технике