Merge pull request #479 from TheCreeper/master

Add support for EmpiresMod to mapchooser plugin.
This commit is contained in:
Nicholas Hastings 2016-02-22 17:12:07 -05:00
commit c81e1865e0

View File

@ -157,6 +157,10 @@ public void OnPluginStart()
{ {
HookEvent("round_win", Event_RoundEnd); HookEvent("round_win", Event_RoundEnd);
} }
else if (strcmp(folder, "empires") == 0)
{
HookEvent("game_end", Event_RoundEnd);
}
else else
{ {
HookEvent("round_end", Event_RoundEnd); HookEvent("round_end", Event_RoundEnd);