Skip to content

Commit

Permalink
Fix files with indent size of 5 for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-MF committed Jan 6, 2025
1 parent d44e38b commit a179805
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ if ([_unit] call FUNC(chestpack) isEqualTo "") exitWith {};
params ["_unit"];
private _container = _unit call FUNC(chestpackContainer);
if (!alive _unit) then {
deleteVehicle _container;
deleteVehicle _container;
};
}, _unit, 1.5] call CBA_fnc_waitAndExecute;
2 changes: 1 addition & 1 deletion addons/backpack_on_chest/functions/fnc_EHKilled.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ private _backpack = firstBackpack _holder;

// add variables
{
_backpack setVariable [(_x select 0), (_x select 1), true];
_backpack setVariable [(_x select 0), (_x select 1), true];
} forEach _chestpackVariables;

// remove the backpack from the dead unit
Expand Down
2 changes: 1 addition & 1 deletion addons/backpack_on_chest/functions/fnc_actionOnBack.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ _unit setUnitLoadout _loadout;
// add variables
private _backpack = backpackContainer _unit;
{
_backpack setVariable [(_x select 0), (_x select 1), true];
_backpack setVariable [(_x select 0), (_x select 1), true];
} forEach _chestpackVariables;

[_unit] call FUNC(removeChestpack);
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private _backpack = firstBackpack _holder;

// add variables
{
_backpack setVariable [(_x select 0), (_x select 1), true];
_backpack setVariable [(_x select 0), (_x select 1), true];
} forEach _chestpackVariables;

// remove the backpack from the dead unit
Expand Down
10 changes: 5 additions & 5 deletions addons/backpack_on_chest/functions/fnc_itemMass.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,29 @@ private _weaponConfig = configFile >> "CfgWeapons" >> _item;
private _weaponConfigItemInfo = _weaponConfig >> "ItemInfo";

if (isClass (_weaponConfigItemInfo)) exitWith {
getNumber (_weaponConfig >> "ItemInfo" >> "Mass");
getNumber (_weaponConfig >> "ItemInfo" >> "Mass");
};

private _weaponConfigSlots = _weaponConfig >> "WeaponSlotsInfo";

if (isClass (_weaponConfigSlots)) exitWith {
getNumber (_weaponConfigSlots >> "Mass");
getNumber (_weaponConfigSlots >> "Mass");
};

private _magazineConfigMass = configFile >> "CfgMagazines" >> _item;

if (isClass _magazineConfigMass) exitWith {
getNumber (_magazineConfigMass >> "Mass");
getNumber (_magazineConfigMass >> "Mass");
};

private _vehiclesConfigMass = configFile >>"CfgVehicles">> _item;

if (isClass _vehiclesConfigMass) exitWith {
getNumber (_vehiclesConfigMass >> "Mass");
getNumber (_vehiclesConfigMass >> "Mass");
};

private _glassesConfigMass = configFile >> "CfgGlasses" >> _item;

if (isClass _glassesConfigMass) exitWith {
getNumber (_glassesConfigMass >> "Mass");
getNumber (_glassesConfigMass >> "Mass");
};

0 comments on commit a179805

Please sign in to comment.