mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix FCS not taking weapon initSpeed into account in some circumstances
This commit is contained in:
parent
b99be6122b
commit
59923710b7
@ -136,6 +136,12 @@ private _FCSElevation = [];
|
||||
false
|
||||
} count _muzzles;
|
||||
|
||||
// Fix the `in` operator being case sensitive and BI fucking up the spelling of their own classnames
|
||||
_magazine = toLower _magazine;
|
||||
{
|
||||
_weaponMagazines set [_forEachIndex, toLower _x];
|
||||
} forEach _weaponMagazines;
|
||||
|
||||
if (_magazine in _weaponMagazines) exitWith {
|
||||
_initSpeedCoef = getNumber(configFile >> "CfgWeapons" >> _weapon >> "initSpeed");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user