diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-11-20 13:23:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-20 13:23:20 +0100 |
commit | 73323a2838f4978b1f91d7a941ac40ee17df2d34 (patch) | |
tree | 849880dae9800f4f9d805e10bdaf169143ddad50 /modules/mono/editor/GodotTools | |
parent | 60711e67386d8300878a46f3c37260db4f2b2c84 (diff) | |
parent | d79aeca5991774a810cac6a97c3ac65023156ad5 (diff) |
Merge pull request #33763 from neikeq/issue-33725
Fix C# export error dialog showing up when it should not
Diffstat (limited to 'modules/mono/editor/GodotTools')
-rw-r--r-- | modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs b/modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs index f65d2a39f4..cf3823fd16 100644 --- a/modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs +++ b/modules/mono/editor/GodotTools/GodotTools/Export/ExportPlugin.cs @@ -164,12 +164,12 @@ namespace GodotTools.Export Directory.Delete(aotTempDir, recursive: true); // TODO: Just a workaround until the export plugins can be made to abort with errors - if (string.IsNullOrEmpty(maybeLastExportError)) // Check empty as well, because it's set to empty after hot-reloading + if (!string.IsNullOrEmpty(maybeLastExportError)) // Check empty as well, because it's set to empty after hot-reloading { string lastExportError = maybeLastExportError; maybeLastExportError = null; - GodotSharpEditor.Instance.ShowErrorDialog(lastExportError, "C# export failed"); + GodotSharpEditor.Instance.ShowErrorDialog(lastExportError, "Failed to export C# project"); } } |