mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
toLower in, always follow your own advice
This commit is contained in:
parent
250d6acb22
commit
6710040633
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user