Fixes SC_HOMUN_TIME starting too early (#6890)

This commit is contained in:
Aleos 2022-05-03 22:35:19 -04:00 committed by GitHub
parent b25fda1370
commit 86cca12399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1245,11 +1245,11 @@ int hom_recv_data(uint32 account_id, struct s_homunculus *sh, int flag)
clif_hominfo(sd,hd,0); // send this x2. dunno why, but kRO does that [blackhole89]
clif_homskillinfoblock(sd);
hom_init_timers(hd);
}
#ifdef RENEWAL
sc_start(&sd->bl, &sd->bl, SC_HOMUN_TIME, 100, 1, skill_get_time(AM_CALLHOMUN, 1));
sc_start(&sd->bl, &sd->bl, SC_HOMUN_TIME, 100, 1, skill_get_time(AM_CALLHOMUN, 1));
#endif
}
return 1;
}