commands sent to client when disconnecte
This commit is contained in:
Zachary Slater committed 2010-10-25 06:43:55 +00:00
1 parent a4327ef965
commit df758ba6c2
1 file changed
+1 -1
+1 -1
View File
@@ -1478,7 +1478,7 @@ void SV_ExecuteClientCommand( client_t *cl, const char *s, qboolean clientOK ) {
if (clientOK) {
// pass unknown strings to the game
if (!u->name && sv.state == SS_GAME) {
if (!u->name && sv.state == SS_GAME && cl->state == CS_ACTIVE) {
Cmd_Args_Sanitize();
VM_Call( gvm, GAME_CLIENT_COMMAND, cl - svs.clients );
}