Fix log crash

This commit is contained in:
Ardakaniz 2016-10-16 19:21:06 +02:00
parent 72fa0adcfd
commit fa32f70d14
1 changed files with 1 additions and 2 deletions

View File

@ -112,9 +112,8 @@ namespace Nz
bool Log::Initialize()
{
if (s_logger == &s_stdLogger)
s_logger = new FileLogger();
SetLogger(new FileLogger());
SetLogger(s_logger);
return true;
}