- Forgot to set state.night = 1 in the night timer.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@5864 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
e7a2020fc5
commit
8f76fb4c7b
@ -7844,8 +7844,10 @@ static int clif_nighttimer(int tid, unsigned int tick, int id, int data)
|
||||
if (!sd) return 0;
|
||||
|
||||
//Check if character didn't instant-warped after logging in.
|
||||
if (sd->bl.prev!=NULL)
|
||||
if (sd->bl.prev!=NULL) {
|
||||
sd->state.night = 1;
|
||||
clif_status_load(&sd->bl, SI_NIGHT, 1);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user