From: Eric S. Raymond Date: Tue, 11 Jul 2017 21:05:55 +0000 (-0400) Subject: Minor bug fix in an error notification. X-Git-Tag: 1.3~139 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=3a7ce1b73a90e8b379f07487f764172210ebbeb8 Minor bug fix in an error notification. --- diff --git a/make_dungeon.py b/make_dungeon.py index 9b729cc..70fab09 100755 --- a/make_dungeon.py +++ b/make_dungeon.py @@ -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":