From 3a7ce1b73a90e8b379f07487f764172210ebbeb8 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 11 Jul 2017 17:05:55 -0400 Subject: [PATCH] Minor bug fix in an error notification. --- make_dungeon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": -- 2.31.1