浏览代码

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!

aleos89 8 年之前
父节点
当前提交
3dfdb38d32
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/map/pc.c

+ 1 - 0
src/map/pc.c

@@ -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);