Fix indentation in CFGamble.py

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11330 282e977c-c81d-0410-88c4-b93c2d0d6712
master
anmaster 2009-02-03 19:25:55 +00:00
parent 364f9f2d3c
commit b4042eae5e
1 changed files with 3 additions and 3 deletions

View File

@ -14,9 +14,9 @@ class SlotMachine:
#sets up the file that holds all the slotmachine jackpots
#make sure this points to your writable var/crossfire directory
#you can delete that file to reset all the slotmachine jackpots
slotfile = os.path.join(Crossfire.LocalDirectory(),'SlotMachine_file')
slotdb = {}
def __init__(self,slotname,slotlist,minpot,maxpot):
slotfile = os.path.join(Crossfire.LocalDirectory(),'SlotMachine_file')
slotdb = {}
def __init__(self,slotname,slotlist,minpot,maxpot):
slotdb = shelve.open(self.slotfile)
self.slotname = slotname
self.slotlist = slotlist