瀏覽代碼

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

Lance 19 年之前
父節點
當前提交
304665e8c0
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/map/script.c

+ 4 - 4
src/map/script.c

@@ -11564,11 +11564,11 @@ void run_script_main(struct script_state *st)
 				intif_saveregistry(sd,2);
 			if (sd->state.reg_dirty&1)
 				intif_saveregistry(sd,1);
-		} else {
+		}/* else {
 			script_free_stack (st->stack);
 			aFree(st);
 		}
-	}/*else{ 
+	}else{ 
 		if(st->sleep.tick > 0)
 	  	{	//Delay execution
 			TBL_PC *sd = (TBL_PC *)map_id2bl(st->rid);
@@ -11576,8 +11576,8 @@ void run_script_main(struct script_state *st)
 			st->sleep.timer  = add_timer(gettick()+st->sleep.tick,
 				run_script_timer, st->sleep.charid, (int)st);
 			linkdb_insert(&sleep_db, (void*)st->oid, st);
-		} 
-	}*/
+		}*/ 
+	}
 
 	return;
 }