fixed side parser on role handler

This commit is contained in:
2026-05-05 12:18:23 -03:00
parent 9cba642e9b
commit a43aa60f45

View File

@@ -7,13 +7,7 @@ params["_unit"];
private _affiliation = "f";
private _type = "G";
private _role = "a-f-G-U-C-I";
private _side = side _unit;
if (isNil {
_unit getVariable "armatak_current_side"
}) then {
_side = _unit getVariable "armatak_current_side";
};
private _side = _unit getVariable ["armatak_current_side", side _unit];
switch (str _side) do {
case "WEST": {