Sync with upstream
This commit is contained in:
@@ -2748,6 +2748,19 @@ namespace Barotrauma
|
||||
}
|
||||
);
|
||||
|
||||
commands.Add(new Command("ShowServerPerf", "Immediately log server performance info in ServerMessage", (string[] args) =>
|
||||
{
|
||||
GameServer.Log(PerformanceMonitor.PM.ToString(), ServerLog.MessageType.ServerMessage);
|
||||
}));
|
||||
|
||||
AssignOnClientRequestExecute(
|
||||
"ShowServerPerf",
|
||||
(senderClient, cursorWorldPos, args) =>
|
||||
{
|
||||
GameMain.Server.SendConsoleMessage(PerformanceMonitor.PM.ToString(), senderClient);
|
||||
}
|
||||
);
|
||||
|
||||
#if DEBUG
|
||||
commands.Add(new Command("spamevents", "A debug command that creates a ton of entity events.", (string[] args) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user