summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2013-03-22 09:10:31 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2013-03-22 09:10:31 +0100
commitc21606fd4c02c23b7bf6c06ecd838c53f5e3eb75 (patch)
treeae05444f2a7e948c3c266f79f0dfe034e6838013
parent10b75aec2c5153f99def2a78913bc9c1fc9b23b5 (diff)
downloadserverdata-2013.03.22.tar.gz
serverdata-2013.03.22.tar.bz2
serverdata-2013.03.22.tar.xz
serverdata-2013.03.22.zip
Annual Easter: fix a bug in the start and end time logic.v2013.03.22
The checks for the date didn't include the start and end day.
-rw-r--r--world/map/npc/008-1/annualeaster.txt2
1 files changed, 1 insertions, 1 deletions
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)