diff --git a/GlitchyEditor/src/EditorLayer.bf b/GlitchyEditor/src/EditorLayer.bf index ee99c85..97cda7e 100644 --- a/GlitchyEditor/src/EditorLayer.bf +++ b/GlitchyEditor/src/EditorLayer.bf @@ -518,7 +518,7 @@ namespace GlitchyEditor String fileTargetPath = scope String(); project.PathInProject(fileTargetPath, fileName); - String fileContent = new:ScopedAlloc! String(); + String fileContent = scope String(); if (File.ReadAllText(fileTargetPath, fileContent, true) case .Err) { Log.EngineLogger.Error($"FixupFile: Failed to read file {fileTargetPath}.");