From f98be36ebf02a6cb476dfece025a010368375863 Mon Sep 17 00:00:00 2001 From: esteel Date: Thu, 8 Feb 2007 21:43:01 +0000 Subject: [PATCH] reverted that last checking as it will not work with maps/0.mapcfg git-svn-id: svn://svn.icculus.org/nexuiz/trunk@2178 f962a42d-fe04-0410-a3ab-8c8b0445ebaa --- data/qcsrc/server/g_world.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/qcsrc/server/g_world.qc b/data/qcsrc/server/g_world.qc index 14485692a..b256fc7ff 100644 --- a/data/qcsrc/server/g_world.qc +++ b/data/qcsrc/server/g_world.qc @@ -702,7 +702,7 @@ void() GotoNextMap = float allowReset; // cvar "nextmap" always gets priority - if(cvar("nextmap")) + if(cvar_string("nextmap") != "") if(TryFile(strcat("maps/", cvar_string("nextmap"), ".mapcfg"))) { localcmd(strcat("exec \"maps/", cvar_string("nextmap"), ".mapcfg\"\n")); -- 2.39.2