diff --git a/BBGE/Core.cpp b/BBGE/Core.cpp index 84d7bc9..8ce98a8 100644 --- a/BBGE/Core.cpp +++ b/BBGE/Core.cpp @@ -864,7 +864,6 @@ const float SORT_DELAY = 10; Core::Core(const std::string &filesystem, int numRenderLayers, const std::string &appName, int particleSize, std::string userDataSubFolder) : ActionMapper(), StateManager(), appName(appName) { - _logOut.open((debugLogPath + "debug.log").c_str()); sound = NULL; screenCapScale = Vector(1,1,1); timeUpdateType = TIMEUPDATE_DYNAMIC; @@ -898,7 +897,8 @@ Core::Core(const std::string &filesystem, int numRenderLayers, const std::string #else debugLogPath = ""; #endif - + + _logOut.open((debugLogPath + "debug.log").c_str()); debugLogActive = true; debugLogTextures = true;