MeleeTriggerTournamentFinishNow
- comment
- patch
1.07
- Source
- Blizzard.j (raise an issue to discuss on Github or submit a PR)
- return type
nothing- Source code
function MeleeTriggerTournamentFinishNow takes nothing returns nothing local integer rule = GetTournamentFinishNowRule() // If the game is already over, do nothing if bj_meleeGameOver then return endif if (rule == 1) then // Finals games call MeleeTournamentFinishNowRuleA(1) else // Preliminary games call MeleeTournamentFinishNowRuleA(3) endif // Since the game is over we should remove all observers call MeleeRemoveObservers() endfunction