From 49eedf7f5f238241fd6b457c2828b8e32a0367aa Mon Sep 17 00:00:00 2001 From: cavesomething Date: Wed, 5 May 2010 15:02:44 +0000 Subject: [PATCH] Fix parsing of stage numbers git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13130 282e977c-c81d-0410-88c4-b93c2d0d6712 --- python/dialog/pre/quest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/dialog/pre/quest.py b/python/dialog/pre/quest.py index 2aa008140..d2e8029e8 100644 --- a/python/dialog/pre/quest.py +++ b/python/dialog/pre/quest.py @@ -24,7 +24,7 @@ if stage == "complete": # todo: implement this pass if stage.find("-") == -1: - if stage[1] == "=": + if stage[0] == "=": startstep = int(stage[1:]) endstep = startstep else: