From 40949a09b9862a8820a0f35fffb3107b4d776931 Mon Sep 17 00:00:00 2001 From: vbawol Date: Mon, 23 Jan 2017 17:12:50 -0600 Subject: [PATCH] Fixed: Repack Energy Pack not possible #698 --- .../epoch_code/compile/inventory/EPOCH_itemInteractClick.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/epoch_code/compile/inventory/EPOCH_itemInteractClick.sqf b/Sources/epoch_code/compile/inventory/EPOCH_itemInteractClick.sqf index 0d50f41d..9a0ce62a 100644 --- a/Sources/epoch_code/compile/inventory/EPOCH_itemInteractClick.sqf +++ b/Sources/epoch_code/compile/inventory/EPOCH_itemInteractClick.sqf @@ -49,7 +49,7 @@ if !(_interactActions isEqualTo []) then { }; // ammo repack if (_magCount > 1) then { - _button_texts pushBack ["REPACK"]; + _button_texts pushBack ["REPACK","[0] call EPOCH_consumeItem;"]; }; _config = 'CfgCrafting' call EPOCH_returnConfig;