summaryrefslogtreecommitdiff
path: root/modules/mono/editor/GodotTools
diff options
context:
space:
mode:
authorIgnacio Roldán Etcheverry <neikeq@users.noreply.github.com>2019-07-10 15:40:25 +0200
committerGitHub <noreply@github.com>2019-07-10 15:40:25 +0200
commit8b778f62347e7aff48122aa3945f1373b3fae5d3 (patch)
treef96d344af2056988f772984e1b91a94abda00ea3 /modules/mono/editor/GodotTools
parentfd9ef1bb34bdc3ee982d83cc3ac6d7c82ac63e2e (diff)
parentcaf20492cff930bc995e1e7261e77c069e2a9a41 (diff)
Merge pull request #30489 from neikeq/fix-nullexc-on-gengameproj
Mono: Fix null exception in GenerateGameProject
Diffstat (limited to 'modules/mono/editor/GodotTools')
-rw-r--r--modules/mono/editor/GodotTools/GodotTools/CSharpProject.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/editor/GodotTools/GodotTools/CSharpProject.cs b/modules/mono/editor/GodotTools/GodotTools/CSharpProject.cs
index 3ba311c283..cd9c470969 100644
--- a/modules/mono/editor/GodotTools/GodotTools/CSharpProject.cs
+++ b/modules/mono/editor/GodotTools/GodotTools/CSharpProject.cs
@@ -11,11 +11,11 @@ namespace GodotTools
{
public static class CSharpProject
{
- public static string GenerateGameProject(string dir, string name, IEnumerable<string> files = null)
+ public static string GenerateGameProject(string dir, string name)
{
try
{
- return ProjectGenerator.GenGameProject(dir, name, files);
+ return ProjectGenerator.GenGameProject(dir, name, compileItems: new string[] { });
}
catch (Exception e)
{