]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
also better ground lastlevel if on the _init map
authorRudolf Polzer <divverent@alientrap.org>
Sat, 25 Feb 2012 18:37:08 +0000 (19:37 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 25 Feb 2012 18:37:08 +0000 (19:37 +0100)
qcsrc/server/g_world.qc

index 1527f88ee2b715a821844818a5a95bf5b8acba99..0c5a5ee8dca028bb6354225bc407e1fc33ea47c3 100644 (file)
@@ -1265,7 +1265,7 @@ float DoNextMapOverride(float reinit)
                        alreadychangedlevel = TRUE;
                        return TRUE;
                }
-       if(autocvar_lastlevel)
+       if(!reinit && autocvar_lastlevel)
        {
                cvar_settemp_restore();
                localcmd("set lastlevel 0\ntogglemenu 1\n");