diff gamelib/toolbar.py @ 512:b112bcf4d435

Add restore game button to main menu.
author Simon Cross <hodgestar@gmail.com>
date Thu, 26 Nov 2009 23:36:20 +0000
parents 4c281ce4fc5f
children f84ad10a9625
line wrap: on
line diff
--- a/gamelib/toolbar.py	Thu Nov 26 23:33:49 2009 +0000
+++ b/gamelib/toolbar.py	Thu Nov 26 23:36:20 2009 +0000
@@ -181,7 +181,7 @@
 
     def load_game(self):
         """Load game 'dialog'."""
-        savegame.RestoreDialog(self.gameboard).open()
+        savegame.RestoreDialog(self.gameboard.restore_game).open()
 
     update_cash_counter = mkcountupdate('cash_counter')
     update_wood_counter = mkcountupdate('wood_counter')