自動調理器の表示条件を都市レベルに変更

This commit is contained in:
kimura 2022-11-25 11:37:10 +09:00
parent 414fae4325
commit 3c430f264c
1 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ public class KitchenManager : MonoBehaviour
// バイト有効時は自動調理と大量注文が非表示
partTimerButtonView.gameObject.SetActive(isPartTimer);
orderIndicatorView.gameObject.SetActive(!isPartTimer);
autoCookView.SetActive(!isPartTimer && globalGameData.ViewedShopLevel >= Const.AutoCookAvailableLevel);
autoCookView.SetActive(!isPartTimer && cityGameData.ViewedShopLevel >= Const.AutoCookAvailableLevel);
kitchenView.SetActive(!isPartTimer);
// 大量注文の調理から戻ってきたときにダイアログ開く
@ -265,7 +265,7 @@ public class KitchenManager : MonoBehaviour
}
kitchenView.SetActive(true);
CheckOrderAndSetPhoneTap();
autoCookView.SetActive(globalGameData.ViewedShopLevel >= Const.AutoCookAvailableLevel);
autoCookView.SetActive(cityGameData.ViewedShopLevel >= Const.AutoCookAvailableLevel);
});
}).AddTo(this);