diff --git a/tools/CommandLineTools.hx b/tools/CommandLineTools.hx index e3f6f56ff..b9507a69d 100644 --- a/tools/CommandLineTools.hx +++ b/tools/CommandLineTools.hx @@ -1921,8 +1921,12 @@ class CommandLineTools { } - config.merge (project); - project = config; + if (config != null) { + + config.merge (project); + project = config; + + } project.haxedefs.set ("tools", version);