Minor bug fix in an error notification.

This commit is contained in:
Eric S. Raymond 2017-07-11 17:05:55 -04:00
parent f06e5b8fdb
commit 3a7ce1b73a

View file

@ -626,7 +626,7 @@ def buildtravel(locs, objs):
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":