Apply client and server config tweaks when loading the original config

This commit is contained in:
smallmodel 2025-01-21 22:56:05 +01:00
parent b8c7223da7
commit 02fc573e31
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512
6 changed files with 42 additions and 1 deletions

View file

@ -1109,6 +1109,12 @@ void SV_Init (void)
// Load saved bans
Cbuf_AddText("rehashbans\n");
if (com_gotOriginalConfig) {
// Added in OPM
// Apply config tweaks after loading the original config
SV_ApplyOriginalConfigTweaks();
}
}
@ -1325,3 +1331,11 @@ void SV_HandleNonPVSSound()
SV_CleanupNonPVSSound();
}
/*
===============
SV_ApplyOriginalConfigTweaks
===============
*/
void SV_ApplyOriginalConfigTweaks()
{
}