From: cloudwalk Date: Wed, 24 Jun 2020 13:47:01 +0000 (+0000) Subject: Remove hack in changelevel X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cb11bdeed238603b11d8dac4908cfdbabe298079;p=xonotic%2Fdarkplaces.git Remove hack in changelevel git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12726 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_ccmds.c b/sv_ccmds.c index f6bb0a67..e4b201b2 100644 --- a/sv_ccmds.c +++ b/sv_ccmds.c @@ -104,9 +104,10 @@ static void SV_Changelevel_f(cmd_state_t *cmd) Con_Print("changelevel : continue game on a new level\n"); return; } - // HACKHACKHACK - if (!sv.active) { - SV_Map_f(cmd); + + if (!sv.active) + { + Con_Printf("You must be running a server to changelevel. Use 'map %s' instead\n", Cmd_Argv(cmd, 1)); return; }