]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/command/cmd.qc
Merge branch 'master' into z411/annce_queue
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / command / cmd.qc
index 9feb068a812bdd377f7bf9a6822cdf0217a52104..e2d71597f44ae1f20369a8b6c7e2e2c59f38c90e 100644 (file)
@@ -114,7 +114,7 @@ void ClientCommand_clientversion(entity caller, int request, int argc)  // inter
                                        else if (teamplay && !autocvar_sv_spectate && !(Player_GetForcedTeamIndex(caller) > 0))
                                        {
                                                TRANSMUTE(Observer, caller);  // really?
-                                               stuffcmd(caller, "menu_showteamselect\n");
+                                               stuffcmd(caller, "scoreboard_team_selection\n");
                                        }
                                }
 
@@ -282,6 +282,7 @@ void ClientCommand_join(entity caller, int request)
                                else if(time < CS(caller).jointime + MIN_SPEC_TIME)
                                        CS(caller).autojoin_checked = -1;
                        }
+                       CS(caller).parm_idlesince = time;
 
                        return;  // never fall through to usage
                }
@@ -392,9 +393,7 @@ void ClientCommand_ready(entity caller, int request)
                                        }
 
                                        caller.last_ready = time;
-
-                                       // cannot reset the game while a timeout is active!
-                                       if (!timeout_status) ReadyCount();
+                                       ReadyCount();
                                }
                        }
                        return;  // never fall through to usage