From 309e78e3e0a5b39bacded2f20b2ab0c16a0ec1c2 Mon Sep 17 00:00:00 2001 From: anmaster Date: Fri, 30 Jan 2009 01:45:22 +0000 Subject: [PATCH] Correct small syntax error in CFGamble.py git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11286 282e977c-c81d-0410-88c4-b93c2d0d6712 --- python/CFGamble.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/CFGamble.py b/python/CFGamble.py index 55c236416..f904fe803 100644 --- a/python/CFGamble.py +++ b/python/CFGamble.py @@ -24,7 +24,7 @@ class SlotMachine: self.maxpot = maxpot def placebet(self,amount): - if self.slotname in not self.slotdb: + if self.slotname not in self.slotdb: self.slotdb[self.slotname] = self.minpot+amount else: temp=self.slotdb[self.slotname]