Explorar o código

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 %!s(int64=8) %!d(string=hai) anos
pai
achega
3dfdb38d32
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);