소스 검색

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