Explorar o código

Fixes AgitEnd2 Scriptcommand. (#1936)

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

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