Skip to content

Commit

Permalink
slightly updated syntax to fit rest of file
Browse files Browse the repository at this point in the history
  • Loading branch information
G3rrus committed Dec 18, 2018
1 parent e6e347f commit c497c3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions LMF_R.VR/framework/player/fn_initPlayerSupp.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ if (typeOf _supp == var_supSpecial) exitWith {
_supp addItemCargoGlobal ["ACE_VectorDay",5];
_supp addItemCargoGlobal ["ItemGPS",5];

if ((_Backpack_Light select 0) != "") then {_supp addBackpackCargoGlobal [(selectRandom _Backpack_Light), 5];};
if ((_Backpack_Light#0) != "") then {_supp addBackpackCargoGlobal [(selectRandom _Backpack_Light), 5];};
};

if (typeOf _supp == var_supExplosives) exitWith {
_supp addItemCargoGlobal ["DemoCharge_Remote_Mag", 8];
_supp addItemCargoGlobal ["SatchelCharge_Remote_Mag", 2];
_supp addItemCargoGlobal ["ACE_M26_Clacker",2];

if ((_Backpack_Light select 0) != "") then {_supp addBackpackCargoGlobal [(selectRandom _Backpack_Light), 2];};
if ((_Backpack_Light#0) != "") then {_supp addBackpackCargoGlobal [(selectRandom _Backpack_Light), 2];};
};
2 changes: 1 addition & 1 deletion LMF_R.VR/framework/player/fn_initPlayerVic.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ if (_LAT != "") then {_vic addWeaponCargoGlobal [_LAT, 2];};

_vic addItemCargoGlobal ["Toolkit",1];

if ((_Backpack_Light select 0) != "") then {_vic addBackpackCargoGlobal [(selectRandom _Backpack_Light),1];};
if ((_Backpack_Light#0) != "") then {_vic addBackpackCargoGlobal [(selectRandom _Backpack_Light),1];};

0 comments on commit c497c3a

Please sign in to comment.