Merge pull request #3596 from SzwedzikPL/remtolower

Remove needless tolower from mortarinit
This commit is contained in:
commy2 2016-03-18 17:32:28 +01:00
commit c76d1cb368

View File

@ -31,7 +31,7 @@ if (count magazines _mortar > 0) then {
private _currentWeapon = _mortar weaponsTurret [0] select 0;
private _newWeapon = "";
if (tolower _currentWeapon == "mortar_82mm") then {
if (_currentWeapon == "mortar_82mm") then {
_newWeapon = "ace_mortar_82mm";
} else {
_newWeapon = getText (configFile >> "CfgWeapons" >> _currentWeapon >> QGVAR(replaceWith));