瀏覽代碼

Fixes AgitEnd2 Scriptcommand. (#1936)

OnAgitEnd2 events were not triggered by using the AgitEnd2 script command.

Follow up to 2043c95
Jeybla 8 年之前
父節點
當前提交
929384cead
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/map/script.c

+ 0 - 3
src/map/script.c

@@ -12492,9 +12492,6 @@ BUILDIN_FUNC(agitstart2)
  */
 BUILDIN_FUNC(agitend2)
 {
-	if (!agit2_flag)
-		return SCRIPT_CMD_SUCCESS;// Agit2 already Ended.
-	agit2_flag = false;
 	guild_agit2_end();
 
 	return SCRIPT_CMD_SUCCESS;