From e97bad397dde9e8faa7a85eab53812106f940df7 Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Thu, 29 Jan 2009 06:28:26 +0000 Subject: Suppress wrong positions in players list OLPC#5242 Place current user at the end of players list all time. Update current-player position after HELLO procedure --- (limited to 'cardtable.py') diff --git a/cardtable.py b/cardtable.py index 608d8c5..e66437e 100644 --- a/cardtable.py +++ b/cardtable.py @@ -74,7 +74,8 @@ class CardTable(gtk.EventBox): # do it once self.set_size_request(size, size) self._workspace_size = size - self.load_game(None, self.data, self.cards_data) + if self.data: + self.load_game(None, self.data, self.cards_data) def load_game(self, widget, data, grid): self.data = data -- cgit v0.9.1