From: Christian Heller Date: Sat, 27 Apr 2019 19:07:31 +0000 (+0200) Subject: For available map directions, remove dependency on map 0,0. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/templates?a=commitdiff_plain;h=796f6c0c96e3ad88ced605609fff540b280fbf81;p=plomrogue2-experiments For available map directions, remove dependency on map 0,0. --- diff --git a/new/plomrogue/game.py b/new/plomrogue/game.py index de6f0c0..d1c9c66 100755 --- a/new/plomrogue/game.py +++ b/new/plomrogue/game.py @@ -199,7 +199,7 @@ class Game: def get_string_options(self, string_option_type): if string_option_type == 'direction': - return self.world.maps[YX(0,0)].get_directions() + return self.map_type().get_directions() elif string_option_type == 'thingtype': return list(self.thing_types.keys()) return None