From d18ea5543e1dddc61e107b47763621cefe18153c Mon Sep 17 00:00:00 2001 From: anmaster Date: Wed, 11 Feb 2009 21:20:20 +0000 Subject: [PATCH] Fix tab error in CFGamble.py git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11449 282e977c-c81d-0410-88c4-b93c2d0d6712 --- python/CFGamble.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/CFGamble.py b/python/CFGamble.py index dc9260cf9..9c54b19e7 100644 --- a/python/CFGamble.py +++ b/python/CFGamble.py @@ -23,18 +23,18 @@ class SlotMachine: self.minpot = minpot self.maxpot = maxpot - def placebet(self,amount): + def placebet(self,amount): if self.slotname not in self.slotdb: self.slotdb[self.slotname] = self.minpot+amount else: temp=self.slotdb[self.slotname] self.slotdb[self.slotname]=temp+amount - def payoff(self,amount): + def payoff(self,amount): temp=self.slotdb[self.slotname] self.slotdb[self.slotname] = temp-amount - def spin(self,slotnum): + def spin(self,slotnum): result=[] while slotnum >=1: r = self.slotlist[random.randint(0,len(self.slotlist)-1)]