mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Arsenal - Fix modParams
printing messages in RPT (#10213)
Fix modParams printing messages in RPT
This commit is contained in:
parent
903f046810
commit
8dbad08838
@ -14,4 +14,9 @@
|
|||||||
|
|
||||||
params ["_config"];
|
params ["_config"];
|
||||||
|
|
||||||
(modParams [_config call EFUNC(common,getAddon), ["name"]]) param [0, ""]
|
private _addon = _config call EFUNC(common,getAddon);
|
||||||
|
|
||||||
|
// Calling modParams with "" prints 'ModParams - Undefined or empty mod directory' in RPT
|
||||||
|
if (_addon == "") exitWith {""};
|
||||||
|
|
||||||
|
(modParams [_addon, ["name"]]) param [0, ""]
|
||||||
|
Loading…
Reference in New Issue
Block a user