diff --git a/Editor/src/ComponentsPanel/ScriptPanel.cpp b/Editor/src/ComponentsPanel/ScriptPanel.cpp index b9e7b512..9bb36366 100644 --- a/Editor/src/ComponentsPanel/ScriptPanel.cpp +++ b/Editor/src/ComponentsPanel/ScriptPanel.cpp @@ -70,7 +70,7 @@ void ScriptPanel::Draw(Nuake::Entity entity) } else { - Nuake::Logger::Log("[FileSystem] Cannot create script files that starts with a number.", Nuake::CRITICAL); + Nuake::Logger::Log("Cannot create script files that starts with a number.","fileSystem", Nuake::CRITICAL); } } diff --git a/Editor/src/Windows/FileSystemUI.cpp b/Editor/src/Windows/FileSystemUI.cpp index ca4879f1..1f0f3c4e 100644 --- a/Editor/src/Windows/FileSystemUI.cpp +++ b/Editor/src/Windows/FileSystemUI.cpp @@ -195,7 +195,7 @@ namespace Nuake const std::string projectPath = file->GetAbsolutePath(); if (!scene->Deserialize(FileSystem::ReadFile(projectPath, true))) { - Logger::Log("Error failed loading scene: " + projectPath, CRITICAL); + Logger::Log("Failed loading scene: " + projectPath,"editor", CRITICAL); return; }