diff --git a/Assets/GoogleMobileAds/link.xml.meta b/Assets/GoogleMobileAds/link.xml.meta index 0276e1c..10d701c 100644 --- a/Assets/GoogleMobileAds/link.xml.meta +++ b/Assets/GoogleMobileAds/link.xml.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: be474b00c7134174b88a1f4dd1f5b3a8 +guid: e6c55b600f8006a44921a15d2773fe75 labels: - gvh - gvh_version-9.5.0 diff --git a/Assets/Resources/VersionCode.txt b/Assets/Resources/VersionCode.txt index 9d60796..3cacc0b 100644 --- a/Assets/Resources/VersionCode.txt +++ b/Assets/Resources/VersionCode.txt @@ -1 +1 @@ -11 \ No newline at end of file +12 \ No newline at end of file diff --git a/Assets/Scripts/UI/ProductSlot.cs b/Assets/Scripts/UI/ProductSlot.cs index 3ab56ed..55e331d 100644 --- a/Assets/Scripts/UI/ProductSlot.cs +++ b/Assets/Scripts/UI/ProductSlot.cs @@ -417,6 +417,7 @@ public class ProductSlot : CardBase public void ClickButton() { + rewardGranted = false; GameManager.Sound.PlaySFX(ESFXType.Button_Hit); if (CheckConditionForState() == false) @@ -715,8 +716,11 @@ public class ProductSlot : CardBase return text; } + bool rewardGranted = false; private void OnCompletedRewardedAd(bool isCompleted, string name) { + if (rewardGranted) return; + rewardGranted = true; if (name == this.name) { if (isCompleted)