From 72fde8640aa9dd9584d4e2f0a742a481510abaf4 Mon Sep 17 00:00:00 2001 From: He-Man Date: Fri, 16 Mar 2018 14:14:49 +0100 Subject: [PATCH] Minerocks fixed --- .../compile/functions/EPOCH_fnc_playerFired.sqf | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Sources/epoch_code/compile/functions/EPOCH_fnc_playerFired.sqf b/Sources/epoch_code/compile/functions/EPOCH_fnc_playerFired.sqf index 9077cbe4..a7f5fa1e 100644 --- a/Sources/epoch_code/compile/functions/EPOCH_fnc_playerFired.sqf +++ b/Sources/epoch_code/compile/functions/EPOCH_fnc_playerFired.sqf @@ -97,12 +97,14 @@ switch true do { }; case (_ammo isKindOf "B_Swing" || _ammo isKindOf "B_Stick") : { player playActionNow "SledgeSwing"; - if (_weapon in ["MeleeSword","Power_Sword"]) then { - call EPOCH_mineRocks; - call EPOCH_chopWood; - }; if (_weapon isEqualTo "MeleeRod") then { call EPOCH_fish; + } + else { + call EPOCH_mineRocks; + if (_weapon in ["MeleeSword","Power_Sword"]) then { + call EPOCH_chopWood; + }; }; }; case (_ammo isKindOf "ChainSaw_Bullet"): {