Don't execute reloadmap if the server is not running

This commit is contained in:
smallmodel 2024-11-10 21:48:02 +01:00
parent 661b08a7fa
commit cd89d2c0b4
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -1699,6 +1699,12 @@ void SV_ReloadMap_f(void)
{
qboolean bTransition;
if (!com_sv_running->integer) {
// Fixed in OPM
Com_Printf("Server is not running.\n");
return;
}
Com_DPrintf("SV_ReloadMap\n");
if (!svs.mapName[0]) {