From b5a4396eaffa50647a546608c17b3123e0a061f1 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 24 Oct 2016 13:57:38 -0400 Subject: [PATCH] v0.4.3a: extended the duration of the halloween treat due to it being late --- .../shatteredpixeldungeon/items/food/Pasty.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/food/Pasty.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/food/Pasty.java index 537a88493..9e97a1151 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/food/Pasty.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/items/food/Pasty.java @@ -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: