From 215c9b6139a45a4aa85109b39a49c59b24b56079 Mon Sep 17 00:00:00 2001 From: Christian Date: Tue, 27 Jun 2017 15:52:25 +0200 Subject: [PATCH] Fixed: Recycle Error on Huron Containers --- Missionframework/scripts/client/actions/do_recycle.sqf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Missionframework/scripts/client/actions/do_recycle.sqf b/Missionframework/scripts/client/actions/do_recycle.sqf index e21c80e1..c8ebd108 100644 --- a/Missionframework/scripts/client/actions/do_recycle.sqf +++ b/Missionframework/scripts/client/actions/do_recycle.sqf @@ -11,7 +11,13 @@ _building_classnames = []; _building_classnames pushBack ( _x select 0 ); } foreach (buildings); -if (((typeOf _vehtorecycle) in _building_classnames) || ((typeOf _vehtorecycle) in KP_liberation_storage_buildings) || ((typeOf _vehtorecycle) in KP_liberation_upgrade_buildings) || ((typeOf _vehtorecycle) in KP_liberation_ace_crates)) then { +if (((typeOf _vehtorecycle) in _building_classnames) || + ((typeOf _vehtorecycle) in KP_liberation_storage_buildings) || + ((typeOf _vehtorecycle) in KP_liberation_upgrade_buildings) || + ((typeOf _vehtorecycle) in KP_liberation_ace_crates) || + ((typeOf _vehtorecycle) == "B_Slingload_01_Repair_F") || + ((typeOf _vehtorecycle) == "B_Slingload_01_Fuel_F") || + ((typeOf _vehtorecycle) == "B_Slingload_01_Ammo_F")) then { _suppMulti = 0.5; _ammoMulti = 0.5; _fuelMulti = 0.5;