fix: do not enforce fake cvars on legacy or xash3d environment

This commit is contained in:
jeefo 2024-05-24 20:05:49 +03:00
commit 4154b66cc2
No known key found for this signature in database
GPG key ID: D696786B81B667C8

View file

@ -1157,7 +1157,7 @@ void Game::printBotVersion () {
} }
void Game::ensureHealthyGameEnvironment () { void Game::ensureHealthyGameEnvironment () {
if (!isDedicated ()) { if (!isDedicated () || game.is (GameFlags::Legacy | GameFlags::Xash3D)) {
return; // listen servers doesn't care about it at all return; // listen servers doesn't care about it at all
} }