diff --git a/SQF/dayz_code/actions/player_craftItemVanilla.sqf b/SQF/dayz_code/actions/player_craftItemVanilla.sqf index 4a77f42eb..73e4210fa 100644 --- a/SQF/dayz_code/actions/player_craftItemVanilla.sqf +++ b/SQF/dayz_code/actions/player_craftItemVanilla.sqf @@ -16,7 +16,7 @@ private ["_config","_input","_output","_required","_failChance","_hasInput","_av //diag_log(str(isnil "r_player_crafting")); //Process has started -if( (animationState player) IN [ "ainvpknlmstpslaywrfldnon_medic" ]) exitwith {}; +if( (animationState player) IN [ "ainvpknlmstpslaywrfldnon_medic" ]) exitwith {dayz_actionInProgress = false;}; //Config class of right click item @@ -132,7 +132,7 @@ if(!r_drag_sqf and !r_player_unconscious and !_onLadder) then { uiSleep 2; //setup alert and speak _dis=20; - _sfx = "chopwood"; + _sfx = if (_classname == "equip_rope") then {"bandage"} else {"chopwood"}; [player,_sfx,0,false,_dis] call dayz_zombieSpeak; [player,_dis,true,(getPosATL player)] call player_alertZombies; @@ -186,4 +186,6 @@ if(!r_drag_sqf and !r_player_unconscious and !_onLadder) then { } forEach _output; }; }; -}; \ No newline at end of file +}; + +dayz_actionInProgress = false; \ No newline at end of file