Finish Match ===================== .. code-block:: csharp public void FinishMatch(int winnerTeam) Immediately finishes the match with the given team as the winner (pass ``-1`` for a draw/no winner), bypassing the map's ``WinCondition`` evaluation entirely. Fires the ``MatchFinished`` event. Useful for scenario-scripted match endings, or any other custom win logic of your own. .. toctree::