Check multiple token conditions correctly

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13144 282e977c-c81d-0410-88c4-b93c2d0d6712
master
cavesomething 2010-05-07 12:19:43 +00:00
parent d3c7e5d24f
commit 59ce1f64fa
1 changed files with 5 additions and 3 deletions

View File

@ -14,10 +14,12 @@
## .*
## ENDDIALOGCHECK
verdict = False
status = self.getStatus(args[0])
for value in args[1:]:
if (status == value) or (value == "*"):
pass
else:
verdict = False
verdict = True
break
else:
pass