toLower in, always follow your own advice

This commit is contained in:
commy2 2015-04-15 16:13:53 +02:00
parent 250d6acb22
commit 6710040633

View File

@ -31,7 +31,7 @@ _muzzle = _this select 4;
_mode = _this select 5;
_ammo = _this select 6;
if (_weapon in ["Throw", "Put"]) exitWith {};
if (toLower _weapon in ["throw", "put"]) exitWith {};
if (_unit != vehicle _unit && {!([_unit] call EFUNC(common,isTurnedOut))}) exitWith {};
_silencer = switch (_weapon) do {