minor stuff

This commit is contained in:
2023-12-31 12:15:30 +02:00
parent 63d14ce2a9
commit dd5a86a8b7
5 changed files with 236 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ namespace Game
Console.Init();
onExit = new InputEvent("Exit");
onExit.Triggered += () =>
onExit.Pressed += () =>
{
if (Console.IsSafeToQuit)
Engine.RequestExit();
@@ -137,7 +137,7 @@ namespace Game
//FlaxEditor.Editor.Instance.PlayModeBegin -= Instance_PlayModeBegin;
LoadConfig();
//GameMode.Connect();
GameModeManager.Init();
WorldStateManager.Init();
//NetworkManager.StartServer();
//GameMode.StartServer(true);