122122
123123local function initializePurchaseHandlers ()
124124 local bundles = Bundles .getBundles ()
125- for bundleId , bundle in pairs ( bundles ) do
125+ for bundleId , bundle in bundles do
126126 -- Bundle is not associated with a developer product if it does not have marketplace price type
127127 if not bundle or bundle .pricing .priceType ~= " Marketplace" then
128128 continue
@@ -133,7 +133,7 @@ local function initializePurchaseHandlers()
133133 end
134134
135135 -- If you have any in-experience currencies that you are using for bundles, set the handler here
136- for currencyId , _ in pairs ( Currencies ) do
136+ for currencyId , _ in Currencies do
137137 Bundles .setInExperiencePurchaseHandler (currencyId , awardInExperiencePurchase )
138138 end
139139end
@@ -286,7 +286,7 @@ You mainly need to hook up four things once dragging the **Bundles** feature pac
286286
287287 local function initializePurchaseHandlers ()
288288 local bundles = Bundles .getBundles ()
289- for bundleId , bundle in pairs ( bundles ) do
289+ for bundleId , bundle in bundles do
290290 -- Bundle is not associated with a developer product if it does not have marketplace price type
291291 if not bundle or bundle .pricing .priceType ~= " Marketplace" then
292292 continue
@@ -297,7 +297,7 @@ You mainly need to hook up four things once dragging the **Bundles** feature pac
297297 end
298298
299299 -- If you have any in-experience currencies that you are using for bundles, set the handler here
300- for currencyId , _ in pairs ( Currencies ) do
300+ for currencyId , _ in Currencies do
301301 Bundles .setInExperiencePurchaseHandler (currencyId , awardInExperiencePurchase )
302302 end
303303 end
0 commit comments