summaryrefslogtreecommitdiff
path: root/source/cl_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/cl_main.c')
-rw-r--r--source/cl_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cl_main.c b/source/cl_main.c
index bc04446..2441e8c 100644
--- a/source/cl_main.c
+++ b/source/cl_main.c
@@ -641,7 +641,7 @@ This is also called on Com_Error, so it shouldn't cause any errors
=====================
*/
void CL_Disconnect( comErrorType_t type, const char *text ) {
- if ( cls.state != ca_disconnected ) {
+ if ( cls.state > ca_disconnected ) {
EXEC_TRIGGER( cl_disconnectcmd );
}