Skip to content

Commit

Permalink
fixed using undefined variable for sidechange instead of group
Browse files Browse the repository at this point in the history
  • Loading branch information
Crowdedlight committed Aug 5, 2024
1 parent 2963ed9 commit ba63406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_changeGroupSide.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if (allGroups findIf {side _x isEqualTo _side && {groupId _x isEqualTo _groupId}
_newGroup setGroupIdGlobal [_groupId];
};

private _units = units _unit;
private _units = units _group;

// Preserve assigned team for each unit
// Teams need to be gotten before removing units from group
Expand Down

0 comments on commit ba63406

Please sign in to comment.