Skip to content

Commit

Permalink
Tabs to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Cplhardcore committed Dec 19, 2024
1 parent 4d878a3 commit ec26dc6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions addons/interaction/functions/fnc_takeLauncher.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@ if (secondaryWeapon _player isNotEqualTo "") exitWith {ERROR("Cannot add launche
TRACE_4("launcher params",_player,_target,_launcher,_displayName);
fn_getWeaponStates =
{
params ["_target", "_launcher"];
private _origState = weaponState _target select [0,3];
private _muzzles = [_launcher] + (getArray (configFile >> "CfgWeapons" >> _launcher >> "muzzles") select { _x != "this" });
private _states = [];
params ["_target", "_launcher"];
private _origState = weaponState _target select [0,3];
private _muzzles = [_launcher] + (getArray (configFile >> "CfgWeapons" >> _launcher >> "muzzles") select { _x != "this" });
private _states = [];

{
_target selectWeapon _x;
_states pushBack weaponState _target;
} forEach _muzzles;
{
_target selectWeapon _x;
_states pushBack weaponState _target;
} forEach _muzzles;

_target selectWeapon _origState;
_states;
_target selectWeapon _origState;
_states;
};


Expand Down

0 comments on commit ec26dc6

Please sign in to comment.