From 796f6c0c96e3ad88ced605609fff540b280fbf81 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 27 Apr 2019 21:07:31 +0200 Subject: [PATCH] For available map directions, remove dependency on map 0,0. --- new/plomrogue/game.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2