home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b707d9f
)
For available map directions, remove dependency on map 0,0.
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 27 Apr 2019 19:07:31 +0000
(21:07 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 27 Apr 2019 19:07:31 +0000
(21:07 +0200)
new/plomrogue/game.py
patch
|
blob
|
history
diff --git
a/new/plomrogue/game.py
b/new/plomrogue/game.py
index de6f0c03d00f22a23f278b5c8dfa4c08b8c05e52..d1c9c665ffb18649f5819831ef2193e48a0b3cdf 100755
(executable)
--- 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