From b5584ffbfe3419a71ff048909063118837215c2e Mon Sep 17 00:00:00 2001 From: vbawol Date: Tue, 18 Apr 2017 15:35:41 -0500 Subject: [PATCH] fixed #747 --- .../compile/epoch_missions/EPOCH_Server_createObject.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/epoch_server/compile/epoch_missions/EPOCH_Server_createObject.sqf b/Sources/epoch_server/compile/epoch_missions/EPOCH_Server_createObject.sqf index 77e71797..ee44a296 100644 --- a/Sources/epoch_server/compile/epoch_missions/EPOCH_Server_createObject.sqf +++ b/Sources/epoch_server/compile/epoch_missions/EPOCH_Server_createObject.sqf @@ -23,7 +23,7 @@ diag_log format["Epoch: Attempt Create Object: %1 for %2",_objArr, name _player] _cfgPricing = 'CfgPricing' call EPOCH_returnConfig; _lootTableIndex = if (EPOCH_modCUPVehiclesEnabled) then {if (EPOCH_mod_madArma_Enabled) then {3} else {1}} else {if (EPOCH_mod_madArma_Enabled) then {2} else {0}}; -_allowedVehicleListName = ["allowedVehiclesList","allowedVehiclesList_CUP","allowedVehiclesList_MAD","allowedVehiclesList_MADCUP"] select _allowedVehicleIndex; +_allowedVehicleListName = ["allowedVehiclesList","allowedVehiclesList_CUP","allowedVehiclesList_MAD","allowedVehiclesList_MADCUP"] select _lootTableIndex; if !(EPOCH_forcedVehicleSpawnTable isEqualTo "") then { _allowedVehicleListName = EPOCH_forcedVehicleSpawnTable; };