summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index fa01d56..11725b3 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -349,7 +349,7 @@ int npc_event_do_clock(int tid,unsigned int tick,int id,int data)
int c=0;
time(&timer);
- t=localtime(&timer);
+ t=gmtime(&timer);
if (t->tm_min != ev_tm_b.tm_min ) {
sprintf(buf,"OnMinute%02d",t->tm_min);