Skip to content

Commit

Permalink
Advanced Throwing - Disable when controlling UAV (#6092)
Browse files Browse the repository at this point in the history
Close #6069
  • Loading branch information
PabstMirror authored Jan 30, 2018
1 parent b30e188 commit 4857294
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons/advanced_throwing/functions/fnc_canPrepare.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,5 @@ GVAR(enabled) &&
{[_unit, objNull, ["isNotInside", "isNotSwimming", "isNotSitting"/*, "isNotOnLadder"*/]] call EFUNC(common,canInteractWith)} && // Ladder needs positioning fixes on throw
{_unit call CBA_fnc_canUseWeapon} && // Disable in non-FFV seats due to surface detection issues
{"" == currentWeapon _unit || {currentWeapon _unit != secondaryWeapon _unit}} &&
{0 >= _unit getVariable [QEGVAR(common,effect_blockThrow), 0]}
{0 >= _unit getVariable [QEGVAR(common,effect_blockThrow), 0]} &&
{isNull (ACE_controlledUAV select 0)}

0 comments on commit 4857294

Please sign in to comment.