mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update fnc_handleDamageBox.sqf
This commit is contained in:
parent
ca49d8a2c8
commit
51c7a0f9b8
@ -45,10 +45,8 @@ if ((getNumber (_ammoConfig >> "explosive") >= 0.5) || {getNumber (_ammoConfig >
|
||||
_source currentMagazineTurret (_source unitTurret _instigator)
|
||||
};
|
||||
|
||||
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 (configFile >> "CfgMagazines" >> _magazine >> "ammo") == _ammo}) then { // 4 = shownTracer
|
||||
[QGVAR(cookOffBox), [_box, _source, _instigator]] call CBA_fnc_serverEvent;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user