mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-09-18 07:48:04 +02:00
Fix dedicated server crash for Linux (Lutris and Wine)
The issue was caused by checking if a file with '//*/' in its path exist on the disk. This causes crashes on Lutris and Wine.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
//=============================================================================//
|
||||
//
|
||||
// Purpose: IApplication methods
|
||||
//
|
||||
//=============================================================================//
|
||||
|
||||
#include "core/stdafx.h"
|
||||
#include "tier0/cvar.h"
|
||||
#include "launcher/IApplication.h"
|
||||
@@ -56,6 +62,8 @@ bool HIApplication_Create(void* a1)
|
||||
{
|
||||
g_vsvAllConVars.push_back(map.first.c_str());
|
||||
}
|
||||
g_bAppSystemInit = true;
|
||||
|
||||
return IAppSystem_Create(a1);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user