home · contact · privacy
Don't recalculate directions all the time, unnecessarily.
[plomrogue2] / plomrogue / game.py
index c4951799002c3a2ec086bde6342cb07231c1c6f5..a1c2ee641cc1dcfefd8797b284676095ab69e83b 100755 (executable)
@@ -180,7 +180,7 @@ class Game(GameBase):
 
     def get_string_options(self, string_option_type):
         if string_option_type == 'direction':
-            return self.map_geometry.get_directions()
+            return self.map_geometry.directions
         elif string_option_type == 'char':
             return [c for c in
                     string.digits + string.ascii_letters + string.punctuation + ' ']