From 308a1ac5635d6cfb33c436273fbc1ab3adeca282 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 7 Mar 2015 08:10:27 +0000 Subject: [PATCH] Oops, wrong delivery time check! --- toontown/coderedemption/TTCodeRedemptionMgrAI.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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