Minor bug fix in an error notification.
This commit is contained in:
parent
f06e5b8fdb
commit
3a7ce1b73a
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ def buildtravel(locs, objs):
|
||||||
try:
|
try:
|
||||||
return locnames.index(action[1])
|
return locnames.index(action[1])
|
||||||
except ValueError:
|
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":
|
elif action[0] == "special":
|
||||||
return 300 + action[1]
|
return 300 + action[1]
|
||||||
elif action[0] == "speak":
|
elif action[0] == "speak":
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue