Skip to content

Commit

Permalink
Merge pull request #430 from CBATeam/fixFireteamCleanup
Browse files Browse the repository at this point in the history
Fix fireteam cleanup (don't setVar if apex or above)
  • Loading branch information
Killswitch00 committed Jul 12, 2016
2 parents 82632f0 + 06896bb commit ad7a39f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/common/fnc_onTeamColorChanged.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ params ["_unit", "_team"];

_unit assignTeam _team;

if ((productVersion select 2) > 162) exitWith {};
if ((productVersion select 2) >= 162) exitWith {};

if (local (leader _unit)) then {
_unit setVariable [QGVAR(synchedTeam), _team, true];
Expand Down

0 comments on commit ad7a39f

Please sign in to comment.