X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=blobdiff_plain;f=newdungeon.py;h=41645f2ac1472cb38edccb0fdc79facf568a623b;hp=39998e7c1bf2369f2579ddc4de08c1d8de10ebfb;hb=7ee571d8326cd3166841f0872f528626a31ca0e7;hpb=e42458868261932e435fd4ff3521face75334627 diff --git a/newdungeon.py b/newdungeon.py index 39998e7..41645f2 100755 --- a/newdungeon.py +++ b/newdungeon.py @@ -339,8 +339,8 @@ def get_hints(hnt, arb): number = item["number"] penalty = item["penalty"] turns = item["turns"] - question = make_c_string(md[item["question"]]) - hint = make_c_string(md[item["hint"]]) + question = make_c_string(item["question"]) + hint = make_c_string(item["hint"]) hnt_str += template.format(number, penalty, turns, question, hint) hnt_str = hnt_str[:-1] # trim trailing newline return hnt_str