From df69d17305ee9e4ff994bd8f7e0e3e02e686be06 Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Sat, 22 Jul 2023 00:23:55 -0400 Subject: [PATCH] Fixed build --- Editor/src/ComponentsPanel/ScriptPanel.cpp | 2 +- Editor/src/Windows/FileSystemUI.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; }