mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Cookoff - Fix shell detonation (#6979)
* abc
* Revert "abc"
This reverts commit bcb4214bd9
.
* Update to current commit
* ShotShell requires velocity to simulate itself, so always spawn it with velocity
This commit is contained in:
parent
5da1308151
commit
709548c1ef
@ -87,7 +87,7 @@ if (_amountOfMagazines > 0) exitWith {
|
||||
playSound3D [_sound, objNull, false, (getPosASL _vehicle), 2, 1, 1300];
|
||||
|
||||
if (random 1 < 0.15) then {
|
||||
[_vehicle, _ammo, _speed, random 1 < 0.15] call _spawnProjectile;
|
||||
[_vehicle, _ammo, _speed, true] call _spawnProjectile;
|
||||
};
|
||||
};
|
||||
if (toLower _simType == "shotgrenade") then {
|
||||
|
Loading…
Reference in New Issue
Block a user