diff --git a/python/casino/diamondslots.py b/python/casino/diamondslots.py index 0bd05fd36..30272ea40 100644 --- a/python/casino/diamondslots.py +++ b/python/casino/diamondslots.py @@ -32,7 +32,7 @@ spinners = 4 #How many spinners on the slotmachine? Slots=CFGamble.SlotMachine(slotname,slotlist,minpot,maxpot) object = activator.CheckInventory(cointype) -if (object): +if (object) and not object.Unpaid: pay = CFItemBroker.Item(object).subtract(cost) if (pay): Slots.placebet(cost) diff --git a/python/casino/imperialslots.py b/python/casino/imperialslots.py index 2fa04c712..4db0beada 100644 --- a/python/casino/imperialslots.py +++ b/python/casino/imperialslots.py @@ -33,7 +33,7 @@ spinners = 4 #How many spinners on the slotmachine? Slots=CFGamble.SlotMachine(slotname,slotlist,minpot,maxpot) object = activator.CheckInventory(cointype) -if (object): +if (object) and not object.Unpaid: pay = CFItemBroker.Item(object).subtract(cost) if (pay): Slots.placebet(cost)