Fix indentation in CFGamble.py
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11330 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
364f9f2d3c
commit
b4042eae5e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue