Fix log crash
This commit is contained in:
parent
72fa0adcfd
commit
fa32f70d14
|
|
@ -112,9 +112,8 @@ namespace Nz
|
||||||
bool Log::Initialize()
|
bool Log::Initialize()
|
||||||
{
|
{
|
||||||
if (s_logger == &s_stdLogger)
|
if (s_logger == &s_stdLogger)
|
||||||
s_logger = new FileLogger();
|
SetLogger(new FileLogger());
|
||||||
|
|
||||||
SetLogger(s_logger);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue