mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Don't execute reloadmap if the server is not running
This commit is contained in:
parent
661b08a7fa
commit
cd89d2c0b4
1 changed files with 6 additions and 0 deletions
|
@ -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]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue