added EndGame (was pretty sure this was already added)

This commit is contained in:
Evil Factory
2021-11-16 16:21:49 -03:00
parent 46166f124a
commit 2823f288ff

View File

@@ -73,6 +73,11 @@ namespace Barotrauma
GameMain.Server.StartGame();
}
public static void EndGame()
{
GameMain.Server.EndGame();
}
public void AssignOnClientRequestExecute(string names, object onExecute) => DebugConsole.AssignOnClientRequestExecute(names, (Client a, Vector2 b, string[] c) => { env.CallFunction(onExecute, new object[] { a, b, c }); });
}
}