diff --git a/popcorn/Assets/MyGame/Scripts/GameDataObserver.cs b/popcorn/Assets/MyGame/Scripts/GameDataObserver.cs index 4a3fe40a..8e105e04 100644 --- a/popcorn/Assets/MyGame/Scripts/GameDataObserver.cs +++ b/popcorn/Assets/MyGame/Scripts/GameDataObserver.cs @@ -62,7 +62,7 @@ public class GameDataObserver : SingletonMonoBehaviour addCustomerObserver.OnNext(cityGameData.TotalCustomerCount); addSalesObserver.OnNext(cityGameData.TotalSales); addRareSalesObserver.OnNext(cityGameData.RareTotalSales); - hasRecipeObserver.OnNext(cityGameData.MyRecipes.Length); + hasRecipeObserver.OnNext(globalGameData.MyRecipes.Length); deliveredBulkOrderObserver.OnNext(cityGameData.BulkOrderDeliveredCount); }).AddTo(this);