Fix parsing of stage numbers
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13130 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
46f0d65cb7
commit
49eedf7f5f
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue