From 71c03326aa2feb5d0804b8c3667e75797372c1a8 Mon Sep 17 00:00:00 2001 From: sippeangelo Date: Fri, 12 Feb 2016 09:17:28 +0100 Subject: [PATCH] Debug.EditorEnabled --- src/Engine/Editor/EditorSystem.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Engine/Editor/EditorSystem.cpp b/src/Engine/Editor/EditorSystem.cpp index 75b66bc9..4899519d 100644 --- a/src/Engine/Editor/EditorSystem.cpp +++ b/src/Engine/Editor/EditorSystem.cpp @@ -40,6 +40,7 @@ EditorSystem::EditorSystem(SystemParams params, IRenderer* renderer, RenderFrame m_EditorStats = new EditorStats(); + m_Enabled = ResourceManager::Load("Config.ini")->Get("Debug.EditorEnabled", false); if (m_Enabled) { Enable(); }