diff options
author | Aleksey Lim <alsroot@member.fsf.org> | 2009-01-29 06:28:26 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@member.fsf.org> | 2009-01-29 06:28:26 (GMT) |
commit | e97bad397dde9e8faa7a85eab53812106f940df7 (patch) | |
tree | f67dfb28fc4a54fda9ff3755a0a1ce5f5a641d6d /cardtable.py | |
parent | 38020714053864459b196935b2544c40ebc2335b (diff) |
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
Diffstat (limited to 'cardtable.py')
-rw-r--r-- | cardtable.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |