From 783b78e1acc9b19bc39afc3b3ce993e2020cee22 Mon Sep 17 00:00:00 2001 From: kimura Date: Thu, 8 Jul 2021 12:13:42 +0900 Subject: [PATCH] =?UTF-8?q?=E3=81=99=E3=81=B9=E3=81=A6=E3=81=AE=E3=82=B3?= =?UTF-8?q?=E3=83=BC=E3=83=B3=E3=81=8C=E7=84=A6=E3=81=92=E3=82=8B=E3=81=A8?= =?UTF-8?q?=E5=A4=B1=E6=95=97=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- popcorn/Assets/MyGame/Scenes/Cooking/Scripts/CornManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/popcorn/Assets/MyGame/Scenes/Cooking/Scripts/CornManager.cs b/popcorn/Assets/MyGame/Scenes/Cooking/Scripts/CornManager.cs index cb88c7e7..9686fbf1 100644 --- a/popcorn/Assets/MyGame/Scenes/Cooking/Scripts/CornManager.cs +++ b/popcorn/Assets/MyGame/Scenes/Cooking/Scripts/CornManager.cs @@ -99,7 +99,7 @@ public class CornManager : MonoBehaviour { result.SetValueAndForceNotify(CornResult.Perfect); } - else if (x.Count(c => c == CornCondition.Spilled) == x.Count) // すべてのコーンが飛び出した + else if (x.Count(c => c == CornCondition.Simple) == 0) // すべてのコーンが飛び出した OR すべて焦げた { result.SetValueAndForceNotify(CornResult.Failure); }