diff gamelib/scenes/manual.py @ 603:3ce19d33b51f pyntnclick

Rename state to game to not cause confusion with the other state
author Neil Muller <neil@dip.sun.ac.za>
date Sat, 11 Feb 2012 20:09:47 +0200
parents 4e9178215e75
children 2748d3afcae5
line wrap: on
line diff
--- a/gamelib/scenes/manual.py	Sat Feb 11 20:05:22 2012 +0200
+++ b/gamelib/scenes/manual.py	Sat Feb 11 20:09:47 2012 +0200
@@ -13,7 +13,7 @@
     "Displays manual pages"
 
     def get_page_thing(self):
-        return self.state.current_detail.things['manual.page']
+        return self.game.current_detail.things['manual.page']
 
     def get_page(self):
         return self.get_page_thing().get_data('page')