소스 검색

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;