mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
remove needless tolower from mortarinit
This commit is contained in:
parent
e8b26a7a14
commit
8555f00889
@ -31,7 +31,7 @@ if (count magazines _mortar > 0) then {
|
|||||||
private _currentWeapon = _mortar weaponsTurret [0] select 0;
|
private _currentWeapon = _mortar weaponsTurret [0] select 0;
|
||||||
private _newWeapon = "";
|
private _newWeapon = "";
|
||||||
|
|
||||||
if (tolower _currentWeapon == "mortar_82mm") then {
|
if (_currentWeapon == "mortar_82mm") then {
|
||||||
_newWeapon = "ace_mortar_82mm";
|
_newWeapon = "ace_mortar_82mm";
|
||||||
} else {
|
} else {
|
||||||
_newWeapon = getText (configFile >> "CfgWeapons" >> _currentWeapon >> QGVAR(replaceWith));
|
_newWeapon = getText (configFile >> "CfgWeapons" >> _currentWeapon >> QGVAR(replaceWith));
|
||||||
|
Loading…
Reference in New Issue
Block a user