Skip to content

Commit

Permalink
fix: do not enforce fake cvars on legacy or xash3d environment
Browse files Browse the repository at this point in the history
  • Loading branch information
jeefo committed May 24, 2024
1 parent 639f2b2 commit 4154b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ void Game::printBotVersion () {
}

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

Expand Down

0 comments on commit 4154b66

Please sign in to comment.