From 150cb96281bc85987b0b305ed83cc372898a74ac Mon Sep 17 00:00:00 2001 From: kimura Date: Wed, 18 May 2022 13:29:58 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=83=B3=E3=82=AF=E5=85=A5=E3=82=8C?= =?UTF-8?q?=E6=9B=BF=E3=81=88=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/MyGame/Scenes/marketing/Scripts/ProductManagement.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/popcorn/Assets/MyGame/Scenes/marketing/Scripts/ProductManagement.cs b/popcorn/Assets/MyGame/Scenes/marketing/Scripts/ProductManagement.cs index 44017713..0c81a1c9 100644 --- a/popcorn/Assets/MyGame/Scenes/marketing/Scripts/ProductManagement.cs +++ b/popcorn/Assets/MyGame/Scenes/marketing/Scripts/ProductManagement.cs @@ -223,6 +223,7 @@ public class ProductManagement : MonoBehaviour // 2連続でクリックされたViewがまとめて取得できるストリーム var replacingObservable = tankClickStream .TakeWhile(_ => state.Value != ManagementState.Tasting) + .Where(tankView => tankView.State.Value != TankState.Lock) .Pairwise(); // タンク入れ替え state.Where(x => x == ManagementState.None)