fix: function name
This commit is contained in:
@@ -208,7 +208,7 @@ public partial class Connection : Node {
|
|||||||
sendCommand("GAME", "TERMINATE:" + matchID);
|
sendCommand("GAME", "TERMINATE:" + matchID);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void AwardGame(int matchID, string winnerUsername) {
|
public void AwardGameWinner(int matchID, string winnerUsername) {
|
||||||
if (!IsAdmin) return;
|
if (!IsAdmin) return;
|
||||||
if (string.IsNullOrWhiteSpace(winnerUsername)) return;
|
if (string.IsNullOrWhiteSpace(winnerUsername)) return;
|
||||||
sendCommand("GAME", "AWARD:" + matchID + ":" + winnerUsername.Trim());
|
sendCommand("GAME", "AWARD:" + matchID + ":" + winnerUsername.Trim());
|
||||||
@@ -600,4 +600,4 @@ public partial class Connection : Node {
|
|||||||
|
|
||||||
GetTree().Root.AddChild(scoreboardWindow);
|
GetTree().Root.AddChild(scoreboardWindow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user