Esempio n. 1
0
 /// <summary>
 /// Overrides the send function, to be used in combination with the stop match button.
 /// Useful for overriding scores because of penalties or fouls
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void sendButton_Click(object sender, EventArgs e)
 {
     Networking.sendData(Display.team1Score + ":" + Display.team2Score + ":" + lastTeam1 + ":" + lastTeam2);
     GameUtility.doSend = false; // make the start button not send in order to prevent dupes
 } // used to force send data to the leaderboard