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-b93c2d0d6712master
parent
3e5d3ee199
commit
309e78e3e0
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue