diff --git a/engine/server/sv_mvd.c b/engine/server/sv_mvd.c index 06fd8e99f..d8e022a84 100644 --- a/engine/server/sv_mvd.c +++ b/engine/server/sv_mvd.c @@ -1720,12 +1720,18 @@ void SV_MVDEasyRecord_f (void) Check_DemoDir(); c = Cmd_Argc(); - if (c > 2) + if (c < 2) { Con_Printf ("easyrecord [demoname]\n"); return; } + if (sv.state < ss_active) + { + Con_Printf("Server isn't running or is still loading\n"); + return; + } + dir = Sys_listdir(va("%s/%s", com_gamedir,sv_demoDir.string), ".*", SORT_NO); if (sv_demoMaxDirSize.value && dir.size > sv_demoMaxDirSize.value*1024) {