Skip to content

Commit

Permalink
Merge pull request #40 from TheCreeper/master
Browse files Browse the repository at this point in the history
Add support for EmpiresMod.
  • Loading branch information
Steell committed Dec 9, 2015
2 parents 92783d0 + 4751496 commit 12167bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions addons/sourcemod/scripting/umc-core.sp
Expand Up @@ -793,6 +793,7 @@ public OnPluginStart()
HookEventEx("teamplay_win_panel", Event_RoundEnd); //TF2
HookEventEx("arena_win_panel", Event_RoundEnd); //TF2
HookEventEx("round_win", Event_RoundEnd); //Nuclear Dawn
HookEventEx("game_end", Event_RoundEnd); //EmpiresMod

//Initialize our vote arrays
nominations_arr = CreateArray();
Expand Down
1 change: 1 addition & 0 deletions addons/sourcemod/scripting/umc-endvote.sp
Expand Up @@ -373,6 +373,7 @@ public OnPluginStart()
HookEventEx("teamplay_restart_round", Event_RestartRound); //TF2
HookEventEx("cs_match_end_restart", Event_RestartRound); //CS:GO
HookEventEx("round_win", Event_RoundEnd); //Nuclear Dawn
HookEventEx("game_end", Event_RoundEnd); //EmpiresMod
}

//Hook score.
Expand Down

0 comments on commit 12167bb

Please sign in to comment.