From ded9895c12d0ea2563ca13620ae8aee60b34cb25 Mon Sep 17 00:00:00 2001 From: Date: Sun, 4 Mar 2018 03:02:54 -0800 Subject: [PATCH] Fixed Happy Birthday Spamming the SMAPI console when the player still hasn't choosen their birthday. --- GeneralMods/HappyBirthday/HappyBirthday.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/GeneralMods/HappyBirthday/HappyBirthday.cs b/GeneralMods/HappyBirthday/HappyBirthday.cs index 83270f9a..ce59d621 100644 --- a/GeneralMods/HappyBirthday/HappyBirthday.cs +++ b/GeneralMods/HappyBirthday/HappyBirthday.cs @@ -228,6 +228,10 @@ namespace Omegasis.HappyBirthday } } + if (Game1.activeClickableMenu != null) + { + if (Game1.activeClickableMenu.GetType() == typeof(BirthdayMenu)) return; + } // ask for birthday date if (!this.HasChosenBirthday) {