From c21606fd4c02c23b7bf6c06ecd838c53f5e3eb75 Mon Sep 17 00:00:00 2001 From: Jessica Tölke Date: Fri, 22 Mar 2013 09:10:31 +0100 Subject: Annual Easter: fix a bug in the start and end time logic. The checks for the date didn't include the start and end day. --- world/map/npc/008-1/annualeaster.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world/map/npc/008-1/annualeaster.txt b/world/map/npc/008-1/annualeaster.txt index c857326c..3a97a9ea 100644 --- a/world/map/npc/008-1/annualeaster.txt +++ b/world/map/npc/008-1/annualeaster.txt @@ -152,7 +152,7 @@ OnTimer1000: set $@AEASTER_mapcount, 1 + getmapusers("008-1.gat") / 3; set $@isEaster, 0; - if ((gettime(6) == 3 && gettime(5) > 22) || (gettime(6) == 4 && gettime(5) < 25) || debug) + if ((gettime(6) == 3 && gettime(5) >= 22) || (gettime(6) == 4 && gettime(5) <= 25) || debug) set $@isEaster, 1; if (!$@wasEaster && $@isEaster) -- cgit v1.2.3-70-g09d2