Small fix to error message

This commit is contained in:
Chandler Cox
2023-09-17 17:49:38 -05:00
parent c1104e803d
commit 17383fe0b6

View File

@@ -260,7 +260,7 @@ namespace FlaxEditor.Windows
// TODO: Check all modules in project including plugins
if (Directory.Exists(Path.Combine(Globals.ProjectFolder, "Source", nameTextBox.Text)))
{
Editor.LogWarning("Cannot create plugin due to name conflict.");
Editor.LogWarning("Cannot create module due to name conflict.");
return;
}
CreateModule(node.Source.Path, nameTextBox.Text, editorCheckBox.Checked, cppCheckBox.Checked);