From 8299522b8426e13265639a53673b1a00f830ee80 Mon Sep 17 00:00:00 2001 From: Seraph Date: Wed, 1 Mar 2023 23:41:41 +0200 Subject: [PATCH] =?UTF-8?q?-=20=D0=A4=D1=96=D0=BA=D1=81=D0=B8=20=D0=BA?= =?UTF-8?q?=D1=80=D0=B0=D1=88=D1=83=20=D0=BF=D0=BE=D0=BA=D1=83=D0=BF=D0=BE?= =?UTF-8?q?=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets_DLL/Core/IAP/PurchaseManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets_DLL/Core/IAP/PurchaseManager.cs b/Assets_DLL/Core/IAP/PurchaseManager.cs index 201cfdd..9355d66 100644 --- a/Assets_DLL/Core/IAP/PurchaseManager.cs +++ b/Assets_DLL/Core/IAP/PurchaseManager.cs @@ -22,8 +22,8 @@ namespace Core.IAP _purchaseManager = new PurchaseManagerBase(); _purchaseManager.InitializePurchasing(); - _purchaseManager.OnPurchaseSuccess += (product) => OnPurchaseSuccess(product); - _purchaseManager.OnPurchaseFaile += (product, error) => OnPurchaseFailed(product, error); + _purchaseManager.OnPurchaseSuccess += (product) => OnPurchaseSuccess?.Invoke(product); + _purchaseManager.OnPurchaseFaile += (product, error) => OnPurchaseFailed?.Invoke(product, error); } public static bool IsProductPurchased(string productId) =>