Added ConfigOf props

This commit is contained in:
Valmo Trindade
2025-10-12 20:44:17 -03:00
parent 42098401f2
commit bf3b0cf0d4
3 changed files with 8 additions and 7 deletions

View File

@@ -12,7 +12,7 @@ if (roleDescription _unit != "") then {
_callsign = name _unit;
if (_callsign == "Error: No unit") then {
_callsign = getText (configFile >> "CfgVehicles" >> typeOf _unit >> "displayName");
_callsign = getText (configOf _unit >> "displayName");
};
};