From c497c3a53338a2d27be00649da7996092a785f14 Mon Sep 17 00:00:00 2001 From: G3rrus Date: Tue, 18 Dec 2018 17:52:46 +0100 Subject: [PATCH] slightly updated syntax to fit rest of file --- LMF_R.VR/framework/player/fn_initPlayerSupp.sqf | 4 ++-- LMF_R.VR/framework/player/fn_initPlayerVic.sqf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LMF_R.VR/framework/player/fn_initPlayerSupp.sqf b/LMF_R.VR/framework/player/fn_initPlayerSupp.sqf index 0d7704f..9c3b309 100644 --- a/LMF_R.VR/framework/player/fn_initPlayerSupp.sqf +++ b/LMF_R.VR/framework/player/fn_initPlayerSupp.sqf @@ -88,7 +88,7 @@ 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 { @@ -96,5 +96,5 @@ if (typeOf _supp == var_supExplosives) exitWith { _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];}; }; \ No newline at end of file diff --git a/LMF_R.VR/framework/player/fn_initPlayerVic.sqf b/LMF_R.VR/framework/player/fn_initPlayerVic.sqf index 322e312..044c435 100644 --- a/LMF_R.VR/framework/player/fn_initPlayerVic.sqf +++ b/LMF_R.VR/framework/player/fn_initPlayerVic.sqf @@ -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];}; \ No newline at end of file +if ((_Backpack_Light#0) != "") then {_vic addBackpackCargoGlobal [(selectRandom _Backpack_Light),1];}; \ No newline at end of file