mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
optional param to skip deprecated warning
This commit is contained in:
parent
32055401d3
commit
cac7b9c0c3
@ -33,9 +33,11 @@
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
ACE_DEPRECATED("ace_common_fnc_getAllGear","3.7.0","getUnitLoadout");
|
||||
params ["_unit", ["_showDeprecated", true]];
|
||||
|
||||
params ["_unit"];
|
||||
if (_showDeprecated) then {
|
||||
ACE_DEPRECATED("ace_common_fnc_getAllGear","3.7.0","getUnitLoadout");
|
||||
};
|
||||
|
||||
if (isNull _unit) exitWith {[
|
||||
"",
|
||||
|
Loading…
Reference in New Issue
Block a user