ソースを参照

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@806 54d463be-8e91-2dee-dedb-b68131a5f0ec

celest 20 年 前
コミット
929700b52d
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/map/map.c

+ 1 - 1
src/map/map.c

@@ -1057,7 +1057,7 @@ int map_quit(struct map_session_data *sd) {
 	//double connect bug fix by Valaris
 	if(sd->alive_timer) {
 		delete_timer(sd->alive_timer,pc_alive_timer);
-		sd->alive_timer = 0;
+		sd->alive_timer = -1;	// not 0, the server will assume it's still active
 	}
 
 	if( sd->npc_stackbuf && sd->npc_stackbuf != NULL) {