diff --git a/addons/captives/functions/fnc_canSurrender.sqf b/addons/captives/functions/fnc_canSurrender.sqf index 4c16e8ccd0..3ee687cfc1 100644 --- a/addons/captives/functions/fnc_canSurrender.sqf +++ b/addons/captives/functions/fnc_canSurrender.sqf @@ -23,7 +23,7 @@ private "_returnValue"; _returnValue = if (_newSurrenderState) then { !(_unit getVariable [QGVAR(isSurrendering), false]); //Not currently surrendering } else { - (_unit getVariable [QGVAR(isSurrendering), false]); //isSurrendering and on the hands up animation - // && {(animationState _unit) == "ACE_AmovPercMstpSsurWnonDnon"}; + (_unit getVariable [QGVAR(isSurrendering), false]); //is Surrendering }; _returnValue diff --git a/addons/captives/functions/fnc_handleKnockedOut.sqf b/addons/captives/functions/fnc_handleKnockedOut.sqf index aba01b194f..fadf63e971 100644 --- a/addons/captives/functions/fnc_handleKnockedOut.sqf +++ b/addons/captives/functions/fnc_handleKnockedOut.sqf @@ -1,5 +1,5 @@ /* - * Author: PabstMirror + * Author: commy2, PabstMirror * Handles when a unit gets knocked out. Ends surrendering. * * Arguments: diff --git a/addons/captives/functions/fnc_surrender.sqf b/addons/captives/functions/fnc_surrender.sqf index f2103d2c1c..adffc4d2aa 100644 --- a/addons/captives/functions/fnc_surrender.sqf +++ b/addons/captives/functions/fnc_surrender.sqf @@ -50,7 +50,6 @@ if (_state) then { PARAMS_2(_unit,_newAnimation); if (_newAnimation != "ACE_AmovPercMstpSsurWnonDnon") then { ERROR("Surrender animation failed"); - systemChat "You Stop Surrendering"; [_unit, false] call FUNC(surrender); }; }];