Index: client/Client/main.cpp
===================================================================
--- client/Client/main.cpp	(revision b1ce08cb4577b01b6703c84fcf501e916eeb0606)
+++ client/Client/main.cpp	(revision cb5a021b16956bebdf7631e74286e9fe349b2480)
@@ -1094,4 +1094,11 @@
                break;
             }
+            case MSG_TYPE_START_GAME:
+            {
+               state = STATE_GAME;
+               wndCurrent = wndGame;
+
+               break;
+            }
             default:
             {
@@ -1398,6 +1405,7 @@
 
 void startGame() {
-   state = STATE_GAME;
-   wndCurrent = wndGame;
+   msgTo.type = MSG_TYPE_LEAVE_GAME;
+
+   msgProcessor.sendMessage(&msgTo, &server);
 }
 
Index: common/MessageContainer.h
===================================================================
--- common/MessageContainer.h	(revision b1ce08cb4577b01b6703c84fcf501e916eeb0606)
+++ common/MessageContainer.h	(revision cb5a021b16956bebdf7631e74286e9fe349b2480)
@@ -41,5 +41,6 @@
    MSG_TYPE_PLAYER_JOIN_GAME,
    MSG_TYPE_FINISH_GAME,
-   MSG_TYPE_JOIN_TEAM
+   MSG_TYPE_JOIN_TEAM,
+   MSG_TYPE_START_GAME
 };
 
