about summary refs log tree commit diff
path: root/src/engine/client/ec_client.c
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2009-06-15 14:01:36 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2009-06-15 14:01:36 +0000
commit7b68ff42773976cafe39b59dc026350cda5c05fd (patch)
treea64ff77b56d62f3860e82513df4874436c353621 /src/engine/client/ec_client.c
parent0160f2651448c2c2df332d2447629e23d5bd4a9a (diff)
downloadzcatch-7b68ff42773976cafe39b59dc026350cda5c05fd.tar.gz
zcatch-7b68ff42773976cafe39b59dc026350cda5c05fd.zip
fixed chaining of console commands, allows snatching updates of console variables. cleaned up some code
Diffstat (limited to 'src/engine/client/ec_client.c')
-rw-r--r--src/engine/client/ec_client.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/client/ec_client.c b/src/engine/client/ec_client.c
index e741958f..0c707ccf 100644
--- a/src/engine/client/ec_client.c
+++ b/src/engine/client/ec_client.c
@@ -417,6 +417,10 @@ int client_send_msg()
 	
 	if(!info)
 		return -1;
+
+	if(client_state() == CLIENTSTATE_OFFLINE)
+		return 0;
+	
 		
 	mem_zero(&packet, sizeof(NETCHUNK));