Skip to content

Commit

Permalink
Update fnc_canTakeLauncher.sqf
Browse files Browse the repository at this point in the history
  • Loading branch information
Cplhardcore committed Jan 15, 2025
1 parent f3761e0 commit ff5daa0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions addons/interaction/functions/fnc_canTakeLauncher.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@
*/

params ["_player", "_target"];
if (GVAR(enableLauncherTaking) &&
GVAR(enableLauncherTaking) &&
secondaryWeapon _target != "" &&
secondaryWeapon _player == "" &&
isNull objectParent _target &&
isNull objectParent _player &&
side (group _target) == side (group _player)) exitWith {true};
false
side (group _target) == side (group _player);

0 comments on commit ff5daa0

Please sign in to comment.