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)