mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
remove stupid
This commit is contained in:
parent
d9466e7586
commit
ddf1f1149d
@ -22,7 +22,7 @@
|
|||||||
params ["_mortar", "_turret", "_currentWeapon", "_proxyWeaponNeeded"];
|
params ["_mortar", "_turret", "_currentWeapon", "_proxyWeaponNeeded"];
|
||||||
TRACE_4("csw_getProxyWeapon",_mortar,_turret,_currentWeapon,_proxyWeaponNeeded);
|
TRACE_4("csw_getProxyWeapon",_mortar,_turret,_currentWeapon,_proxyWeaponNeeded);
|
||||||
|
|
||||||
private _newWeapon = _currentWeapon;
|
private _newWeapon = "";
|
||||||
|
|
||||||
if (GVAR(useAmmoHandling)) then {
|
if (GVAR(useAmmoHandling)) then {
|
||||||
if (_currentWeapon != "mortar_82mm") exitWith { ERROR_2("unknown weapon [%1 - %2]",typeOf _mortar,_currentWeapon); };
|
if (_currentWeapon != "mortar_82mm") exitWith { ERROR_2("unknown weapon [%1 - %2]",typeOf _mortar,_currentWeapon); };
|
||||||
|
Loading…
Reference in New Issue
Block a user