From 07c8132d91758070d01f1d97d6331bc106a7a6b1 Mon Sep 17 00:00:00 2001 From: Ghostrider-GRG- Date: Thu, 26 Jul 2018 20:49:22 -0400 Subject: [PATCH] Add missing #endif Thanks to Schalldampfer for pointing out the error. --- .../Missions/Static/Code/GMS_fnc_sm_spawnLootContainers.sqf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/@GMS/addons/custom_server/Missions/Static/Code/GMS_fnc_sm_spawnLootContainers.sqf b/@GMS/addons/custom_server/Missions/Static/Code/GMS_fnc_sm_spawnLootContainers.sqf index e736aab..9fb6b02 100644 --- a/@GMS/addons/custom_server/Missions/Static/Code/GMS_fnc_sm_spawnLootContainers.sqf +++ b/@GMS/addons/custom_server/Missions/Static/Code/GMS_fnc_sm_spawnLootContainers.sqf @@ -21,6 +21,7 @@ if !(_objects isEqualTo []) exitWith { diag_log format["_fnc_sm_spawnLootContainers (21):-> _x = %1",_x]; }; + #endif _crate = [_x select 1, _x select 0] call blck_fnc_spawnCrate; [_crate, _x select 4, _x select 5] call blck_fnc_fillBoxes; } forEach _objects; @@ -35,6 +36,7 @@ if (_objects isEqualTo []) then diag_log format["_fnc_sm_spawnLootContainers: _this = %1",_this]; diag_log format["_fnc_sm_spawnLootContainers: _coords = %1",_coords]; }; + #endif _crateType = selectRandom blck_crateTypes; _crate = [_coords,_crateType] call blck_fnc_spawnCrate; [_crate,blck_BoxLoot_Red,blck_lootCountsGreen] call blck_fnc_fillBoxes;