Fixes AgitEnd2 Scriptcommand. (#1936)

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

Follow up to 2043c95
This commit is contained in:
Jeybla
2017-02-03 08:38:15 +01:00
committed by Lemongrass3110
parent c853ef0303
commit 929384cead

View File

@@ -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;