From 86ff38cad14d3a41ff433f09557501f56b0841da Mon Sep 17 00:00:00 2001 From: Ino Date: Thu, 18 Sep 2025 07:37:40 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B5=AC=EB=A7=A4=20=EB=B0=A9=EC=96=B4=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/GoogleMobileAds/link.xml.meta | 2 +- Assets/Resources/VersionCode.txt | 2 +- Assets/Scripts/UI/ProductSlot.cs | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) 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)