diff --git a/SQF/dayz_code/compile/fn_unconscious.sqf b/SQF/dayz_code/compile/fn_unconscious.sqf index 4884f6e7f..6f01bf26b 100644 --- a/SQF/dayz_code/compile/fn_unconscious.sqf +++ b/SQF/dayz_code/compile/fn_unconscious.sqf @@ -11,7 +11,9 @@ if ((!r_player_handler1) && (r_handlerCount == 0)) then { _timeout = 0; r_handlerCount = r_handlerCount + 1; r_player_handler1 = true; - player playAction "CanNotMove"; + if (vehicle player == player) then { + player playAction "CanNotMove"; + }; "dynamicBlur" ppEffectEnable true;"dynamicBlur" ppEffectAdjust [2]; "dynamicBlur" ppEffectCommit 0; "colorCorrections" ppEffectEnable true;"colorCorrections" ppEffectEnable true;"colorCorrections" ppEffectAdjust [1, 1, 0, [1, 1, 1, 0.0], [1, 1, 1, 0.1], [1, 1, 1, 0.0]];"colorCorrections" ppEffectCommit 0; 0 fadeSound 0.05; diff --git a/SQF/dayz_code/medical/setup_functions_med.sqf b/SQF/dayz_code/medical/setup_functions_med.sqf index a15009e3b..5c48d17a0 100644 --- a/SQF/dayz_code/medical/setup_functions_med.sqf +++ b/SQF/dayz_code/medical/setup_functions_med.sqf @@ -260,7 +260,9 @@ fnc_usec_recoverUncons = { sleep 1; disableUserInput false; - [objNull,player,rSwitchMove,"AinjPpneMstpSnonWnonDnon"] call RE; - player switchMove "AinjPpneMstpSnonWnonDnon"; - player playMoveNow "AmovPpneMstpSnonWnonDnon_healed"; + if (vehicle player == player) then { + [objNull,player,rSwitchMove,"AinjPpneMstpSnonWnonDnon"] call RE; + player switchMove "AinjPpneMstpSnonWnonDnon"; + player playMoveNow "AmovPpneMstpSnonWnonDnon_healed"; + }; }; \ No newline at end of file