Update to the tournaments

Please don't update the client with this code until I'm online, since I need to update the server code on tbt at the same time because of a protocol change.