From d57aaeb06a8a857ae75e63e99fc7cfabec757546 Mon Sep 17 00:00:00 2001 From: Tklama Date: Mon, 3 Jun 2024 22:33:46 +0200 Subject: [PATCH] Fix double reload --- addons/m119/functions/fnc_fired.sqf | 1 - addons/m119/tbd_m119/CfgVehicles.hpp | 11 +++-------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/addons/m119/functions/fnc_fired.sqf b/addons/m119/functions/fnc_fired.sqf index 0820ff7..dd243c4 100644 --- a/addons/m119/functions/fnc_fired.sqf +++ b/addons/m119/functions/fnc_fired.sqf @@ -42,7 +42,6 @@ _arty animateSource ["magazine_hide_source", 1, true]; _arty animateSource ["magazine_load_source", 0, true]; // Server only - TODO Test and move up -if (!isServer) exitWith {}; // "Temp" fix for cluster and laser guided because BI? if (_ammo in ["tbd_mortars_105mm_shell_ammo_dpicm", "tbd_mortars_105mm_shell_ammo_laser"]) then { diff --git a/addons/m119/tbd_m119/CfgVehicles.hpp b/addons/m119/tbd_m119/CfgVehicles.hpp index 34a3216..1c0f109 100644 --- a/addons/m119/tbd_m119/CfgVehicles.hpp +++ b/addons/m119/tbd_m119/CfgVehicles.hpp @@ -282,8 +282,6 @@ class CfgVehicles { source = "user"; initPhase = 0; animPeriod = 0.5; - sound = "reload"; - soundPosition = "konec_hlavne"; }; class magazine_hide_source { @@ -296,8 +294,7 @@ class CfgVehicles { source = "user"; initPhase = 0; animPeriod = 0.5; - sound = "reload"; - soundPosition = "konec_hlavne"; + }; class magazine_smoke_hide_source { @@ -310,8 +307,7 @@ class CfgVehicles { source = "user"; initPhase = 0; animPeriod = 0.5; - sound = "reload"; - soundPosition = "konec_hlavne"; + }; class magazine_dpicm_hide_source { @@ -324,8 +320,7 @@ class CfgVehicles { source = "user"; initPhase = 0; animPeriod = 0.5; - sound = "reload"; - soundPosition = "konec_hlavne"; + }; class magazine_laser_hide_source {