anchor.diff:    end;
   
     //If we are in team chat mode and find ourselves not on a team (player went back to no team), switch back to all
  -  if (gGameApp.Chat.Mode = cmTeam) and (fNetworking.MyNetPlayer.Team = 0) then
  +  if (gChat.Mode = cmTeam) and (fNetworking.MyNetPlayer.Team = 0) then
       ChatMenuSelect(CHAT_MENU_ALL);
   
     //If we are in whisper chat mode and find the player has left, switch back to all
  -  if gGameApp.Chat.Mode = cmWhisper then
  -  begin
  -    if fNetworking.NetPlayers.ServerToLocal(gGameApp.Chat.WhisperRecipient) = -1 then
  +  if gChat.Mode = cmWhisper then
  +  begin
  +    if fNetworking.NetPlayers.ServerToLocal(gChat.WhisperRecipient) = -1 then
         ChatMenuSelect(CHAT_MENU_ALL)
       else
  -      ChatMenuSelect(gGameApp.Chat.WhisperRecipient); //In case that player changed his color
  +      ChatMenuSelect(gChat.WhisperRecipient); //In case that player changed his color
     end;
   
     CheckBox_HostControl.Checked := fNetworking.NetPlayers.HostDoesSetup;
  
positive.code: 
  procedure TKMMenuLobby.Lobby_OnMessage(const aText: UnicodeString);
  begin
    if gGameApp <> nil then
      gGameApp.Chat.AddLine(aText);
  end;
  
  
  
negative.code:                                     csSystem);
        ChatMenuSelect(CHAT_MENU_ALL);
      end else
        gChat.Post
    end else
      gChat.Post;
    Result := True;
    Edit_Post.Text := '';
    Memo_Posts.ScrollToBottom;
  