mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fixed frame offset to avoid hitting dead targets
This commit is contained in:
parent
04e844fecf
commit
1ae4fc792d
@ -34,11 +34,11 @@ if (_shouldFrag) then {
|
||||
|
||||
private _shotParents = getShotParents _projectile;
|
||||
private _ammo = typeOf _projectile;
|
||||
// Call server event for fragment generation
|
||||
// Wait a frame to make sure it doesn't
|
||||
[
|
||||
QGVAR(explosionEvent),
|
||||
{ [QGVAR(explosionEvent), _this] call CBA_fnc_serverEvent; },
|
||||
[_posASL, _velocity, _ammo, _shotParents]
|
||||
] call CBA_fnc_serverEvent;
|
||||
] call CBA_fnc_execNextFrame;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user