Skip to content

Commit

Permalink
Events - Fix muzzle event args (BREAKING)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror committed Oct 3, 2021
1 parent efc5ddd commit bce2745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/events/fnc_playerEvent.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ if (_state isNotEqualTo GVAR(oldState)) then {
};

if (_newMuzzle isNotEqualTo GVAR(oldMuzzle)) then {
[QGVAR(muzzleEvent), [_newMuzzle select 2, GVAR(oldMuzzle) select 2]] call CBA_fnc_localEvent;
[QGVAR(muzzleEvent), [_unit, _newMuzzle select 2, GVAR(oldMuzzle) select 2]] call CBA_fnc_localEvent;
GVAR(oldMuzzle) = _newMuzzle;
};

Expand Down

0 comments on commit bce2745

Please sign in to comment.