about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/client/game_client.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp
index ad0aff9c..85180372 100644
--- a/src/game/client/game_client.cpp
+++ b/src/game/client/game_client.cpp
@@ -2422,7 +2422,6 @@ extern "C" void modc_render()
 			msg_pack_int(config.team);
 			msg_pack_end();
 			client_send_msg();
-			config.team = -10;
 		}
 	}
 	else // if (client_state() != CLIENTSTATE_CONNECTING && client_state() != CLIENTSTATE_LOADING)
@@ -2436,6 +2435,9 @@ extern "C" void modc_render()
 		if(modmenu_render(false) == -1)
 			client_quit();
 	}
+	
+	//
+	config.team = -10;
 }