diff --git a/toontown/coderedemption/TTCodeRedemptionMgrAI.py b/toontown/coderedemption/TTCodeRedemptionMgrAI.py index f9388800..39dc4624 100644 --- a/toontown/coderedemption/TTCodeRedemptionMgrAI.py +++ b/toontown/coderedemption/TTCodeRedemptionMgrAI.py @@ -46,7 +46,7 @@ class TTCodeRedemptionMgrAI(DistributedObjectAI): count = 0 for item in items: - if item.getDeliveryTime() < 1: + if item.getDeliveryTime() > 0: count += 1 return count @@ -90,4 +90,4 @@ class TTCodeRedemptionMgrAI(DistributedObjectAI): av.onOrder.append(item) av.b_setDeliverySchedule(av.onOrder) - self.sendUpdateToAvatarId(avId, 'redeemCodeResult', [context, 0, 0]) + self.sendUpdateToAvatarId(avId, 'redeemCodeResult', [context, 0, 0]) \ No newline at end of file