diff --git a/python/dialog/pre/quest.py b/python/dialog/pre/quest.py index d2e8029e8..37c068a57 100644 --- a/python/dialog/pre/quest.py +++ b/python/dialog/pre/quest.py @@ -31,8 +31,8 @@ if stage.find("-") == -1: startstep = int(stage) endstep = -1 else: - startstep = int(condition.split("-")[0]) - endstep= int(condition.split("-")[1]) + startstep = int(stage.split("-")[0]) + endstep= int(stage.split("-")[1]) currentstep = character.QuestGetState(questname) if currentstep < startstep: