mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
NetCon: fix color console regression
This is an old bug, since the net console is a console application, we should only call Console_ColorInit() here. Color is now fully optional (with -ansicolor) and works.
This commit is contained in:
parent
dea3888973
commit
d73ce9ed72
@ -172,8 +172,10 @@ BOOL WINAPI CNetCon::CloseHandler(DWORD eventCode)
|
||||
//-----------------------------------------------------------------------------
|
||||
void CNetCon::TermSetup(const bool bAnsiColor)
|
||||
{
|
||||
if (bAnsiColor)
|
||||
Console_ColorInit();
|
||||
|
||||
SpdLog_Init(bAnsiColor);
|
||||
Console_Init(bAnsiColor);
|
||||
|
||||
// Handle ctrl+x or X close events, give the application time to shutdown
|
||||
// properly and flush all logging buffers.
|
||||
|
Loading…
x
Reference in New Issue
Block a user