Skip to content

Commit

Permalink
Removed blocker
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom authored May 3, 2024
1 parent ef418fd commit e1a4044
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cScripts/functions/vehicle/fn_vehicle_addDefaultLoadout.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/

params [["_vehicle", objNull, [objNull]]];
if (true) exitWith {};

if (!isServer) exitWith {};
if (!isNil{_vehicle getVariable QEGVAR(VehicleFunc,DefaultPylon)}) exitWith {SHOW_WARNING_2("VehicleDefaultLoadout", "Vehicle loadouts already applied for %1. [%2].", _vehicle, typeOf _vehicle);};
Expand All @@ -40,4 +39,4 @@ if (count _pylon == 0) then {
WARNING_2("VehicleDefaultLoadout", "Vehicle %1 [%2] has no loadout setup.", _vehicle, typeOf _vehicle);
};

_vehicle setVariable [QEGVAR(VehicleFunc,DefaultPylon), true, true];
_vehicle setVariable [QEGVAR(VehicleFunc,DefaultPylon), true, true];

0 comments on commit e1a4044

Please sign in to comment.