mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
add debug logger
This commit is contained in:
@@ -765,6 +765,9 @@ bool CSourceAppSystemGroup::Create()
|
||||
|
||||
bool CSourceAppSystemGroup::PreInit()
|
||||
{
|
||||
if ( !CommandLine()->FindParm( "-nolog" ) )
|
||||
DebugLogger()->Init("engine.log");
|
||||
|
||||
CreateInterfaceFn factory = GetFactory();
|
||||
ConnectTier1Libraries( &factory, 1 );
|
||||
ConVar_Register( );
|
||||
|
||||
Reference in New Issue
Block a user