Fixed atcommand changecharsex sync issue (fixes #1684)

* Resolves the map-server holding a different job value than what the char-server could be holding.
Thanks to @Grantea!
This commit is contained in:
aleos89 2016-11-16 08:41:16 -05:00
parent 9bf5d4a291
commit 3dfdb38d32

View File

@ -8542,6 +8542,7 @@ bool pc_jobchange(struct map_session_data *sd,int job, char upper)
pc_equiplookall(sd);
pc_show_questinfo(sd);
chrif_save(sd, 0);
//if you were previously famous, not anymore.
if (fame_flag) {
chrif_save(sd,0);