v0.4.3a: extended the duration of the halloween treat due to it being late

This commit is contained in:
Evan Debenham 2016-10-24 13:57:38 -04:00
parent b104ad197d
commit b5a4396eaf

View File

@ -59,7 +59,10 @@ public class Pasty extends Food {
holiday = Holiday.HWEEN;
break;
case Calendar.NOVEMBER:
if (calendar.get(Calendar.DAY_OF_MONTH) == 1)
if (calendar.get(Calendar.DAY_OF_MONTH) == 1 ||
//halloween treat is releasing late in 2016, give it a bit more time
(calendar.get(Calendar.YEAR) == 2016
&& calendar.get(Calendar.WEEK_OF_MONTH) == 1))
holiday = Holiday.HWEEN;
break;
case Calendar.DECEMBER: