畑チュートリアル修正

This commit is contained in:
kimura 2021-12-03 19:08:28 +09:00
parent 50cdf585bb
commit 0f13653679
1 changed files with 1 additions and 5 deletions

View File

@ -337,6 +337,7 @@ public class CornField : MonoBehaviour
cornFieldMask.gameObject.SetActive(false); cornFieldMask.gameObject.SetActive(false);
TutorialManager.Instance.ShowTutorialConversation(6, () => TutorialManager.Instance.ShowTutorialConversation(6, () =>
{ {
promoteGrowthButton.gameObject.SetActive(true);
gameData.FinishedFlags |= TutorialFlag.CornField; gameData.FinishedFlags |= TutorialFlag.CornField;
GameDataManager.SaveGameData(); GameDataManager.SaveGameData();
}); });
@ -421,11 +422,6 @@ public class CornField : MonoBehaviour
seedling.SetSeedlingGene(newGene.FirstTime, newGene.Period / 3, newGene.Level); seedling.SetSeedlingGene(newGene.FirstTime, newGene.Period / 3, newGene.Level);
} }
#endif #endif
// チュートリアル時新しい苗を隠す
if (!gameData.FinishedFlags.HasFlag(TutorialFlag.CornField))
{
seedling.SetSeedlingGene(DateTime.MaxValue, Int32.MaxValue, newGene.Level);
}
}).AddTo(compositeDisposable); }).AddTo(compositeDisposable);
} }
} }