X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fclientcommands.qc;h=a92da718fe3583cdcd068c358f039adf2b2467ca;hb=168b974f2e9e994c4634b6be43e2d4a77f311980;hp=a9fd886bfe9c331e34b7651faf4c4bca063703c5;hpb=6af4e73de035e6bbed9ba2d60e0768c43dc66f2a;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/clientcommands.qc b/qcsrc/server/clientcommands.qc index a9fd886bf..a92da718f 100644 --- a/qcsrc/server/clientcommands.qc +++ b/qcsrc/server/clientcommands.qc @@ -303,6 +303,8 @@ void SV_ParseClientCommand(string s) { } else if(cmd == "records") { for(i = 0; i < 10; ++i) sprint(self, records_reply[i]); + } else if(cmd == "ladder") { + sprint(self, ladder_reply); } else if(cmd == "rankings") { sprint(self, rankings_reply); } else if(cmd == "voice") { @@ -430,7 +432,7 @@ void ReadyRestartForce() readyrestart_happened = 1; game_starttime = time; - if(!g_ca) + if(!g_ca && !g_arena) game_starttime += RESTART_COUNTDOWN; restart_mapalreadyrestarted = 0; //reset this var, needed when cvar sv_ready_restart_repeatable is in use @@ -448,7 +450,7 @@ void ReadyRestartForce() } //initiate the restart-countdown-announcer entity - if(cvar("sv_ready_restart_after_countdown")) + if(cvar("sv_ready_restart_after_countdown") && !g_ca && !g_arena) { restartTimer = spawn(); restartTimer.think = restartTimer_Think;