mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-04 15:36:34 +03:00
Update player_switchWeapon.sqf (#2032)
* Update player_switchWeapon.sqf It is forbidden to change weapons, when player swimming. * Update player_switchWeapon.sqf
This commit is contained in:
1 parent
fcae42a7f8
commit
ca7a77e2ad
1 file changed
+1
@@ -27,6 +27,7 @@ dz_fn_switchWeapon =
|
||||
if (vehicle player != player) exitWith {};
|
||||
if Player_IsOnLadder() exitWith {};
|
||||
if (dayz_autoRun) then {call dayz_autoRunOff;};
|
||||
if (dayz_isSwimming) exitWith {};
|
||||
|
||||
private ["_current","_primary","_secondary","_swapWeapons"];
|
||||
|
||||
|
||||
Reference in new issue
Block a user