From 24d49d106f3d0d8f9ccab07c978da6d18929f601 Mon Sep 17 00:00:00 2001 From: johnb432 <58661205+johnb432@users.noreply.github.com> Date: Wed, 3 Apr 2024 00:46:12 +0200 Subject: [PATCH] Update fnc_handleDamageBox.sqf --- addons/cookoff/functions/fnc_handleDamageBox.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/cookoff/functions/fnc_handleDamageBox.sqf b/addons/cookoff/functions/fnc_handleDamageBox.sqf index 48204ea593..3f0d0ca2f1 100644 --- a/addons/cookoff/functions/fnc_handleDamageBox.sqf +++ b/addons/cookoff/functions/fnc_handleDamageBox.sqf @@ -48,7 +48,7 @@ if ((getNumber (_ammoConfig >> "explosive") >= 0.5) || {getNumber (_ammoConfig > private _configMagazine = configFile >> "CfgMagazines" >> _magazine; // Magazine could have changed during flight time (just ignore if so) - if (_ammo getShotInfo 4 && {getText (_configMagazine >> "ammo") == _ammo)} then { // 4 = shownTracer + if (_ammo getShotInfo 4 && {getText (_configMagazine >> "ammo") == _ammo}) then { // 4 = shownTracer [QGVAR(cookOffBox), [_box, _source, _instigator]] call CBA_fnc_serverEvent; }; };