mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Simplify
This commit is contained in:
parent
ae576e57e3
commit
968f7c000b
@ -137,13 +137,12 @@ private _FCSElevation = [];
|
||||
} count _muzzles;
|
||||
|
||||
// Fix the `in` operator being case sensitive and BI fucking up the spelling of their own classnames
|
||||
private _magazineCheck = toLower _magazine;
|
||||
private _weaponMagazinesCheck = [];
|
||||
{
|
||||
_weaponMagazinesCheck pushBack (toLower _x);
|
||||
} forEach _weaponMagazines;
|
||||
|
||||
if (_magazineCheck in _weaponMagazinesCheck) exitWith {
|
||||
if (toLower _magazine in _weaponMagazinesCheck) exitWith {
|
||||
_initSpeedCoef = getNumber(configFile >> "CfgWeapons" >> _weapon >> "initSpeed");
|
||||
|
||||
if (_initSpeedCoef < 0) then {
|
||||
|
Loading…
Reference in New Issue
Block a user