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