projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor bug fix in an error notification.
[open-adventure.git]
/
make_dungeon.py
diff --git
a/make_dungeon.py
b/make_dungeon.py
index 9b729cc2505193b54a81e576ed47bb2c2cd3c253..70fab09a75a15ea0efb886abb569af75c956676a 100755
(executable)
--- a/
make_dungeon.py
+++ b/
make_dungeon.py
@@
-626,7
+626,7
@@
def buildtravel(locs, objs):
try:
return locnames.index(action[1])
except ValueError:
try:
return locnames.index(action[1])
except ValueError:
- sys.stderr.write("dungeon: unknown location %s in goto clause of %s\n" % (
cond
[1], name))
+ sys.stderr.write("dungeon: unknown location %s in goto clause of %s\n" % (
action
[1], name))
elif action[0] == "special":
return 300 + action[1]
elif action[0] == "speak":
elif action[0] == "special":
return 300 + action[1]
elif action[0] == "speak":