Fixed game paused

This commit is contained in:
Garrett
2023-12-19 19:37:50 -06:00
parent 39573fdbc3
commit 04bbf37b12
3 changed files with 1 additions and 9 deletions

View File

@@ -805,10 +805,5 @@ namespace SeamlessClient.ServerSwitching
Seamless.TryShow("Saving PlayerID: " + savingPlayerId.ToString()); Seamless.TryShow("Saving PlayerID: " + savingPlayerId.ToString());
Seamless.TryShow($"AFTER {MySession.Static.LocalHumanPlayer == null} - {MySession.Static.LocalCharacter == null}"); Seamless.TryShow($"AFTER {MySession.Static.LocalHumanPlayer == null} - {MySession.Static.LocalCharacter == null}");
} }
} }
} }

View File

@@ -175,7 +175,7 @@ namespace SeamlessClient.OnlinePlayersWindow
[HarmonyPatch(typeof(MyGuiScreenPlayers), "SendPingsAndRefresh")] [HarmonyPatch(typeof(MyGuiScreenPlayers), "SendPingsAndRefresh")]
private static void SendPingsAndRefresh1(SerializableDictionary<ulong, short> dictionary) private static void SendPingsAndRefresh1(SerializableDictionary<ulong, short> dictionary)
{ {
Seamless.TryShow("Hello World!"); //Seamless.TryShow("Hello World!");
if (Sandbox.Engine.Platform.Game.IsDedicated) if (Sandbox.Engine.Platform.Game.IsDedicated)
{ {

View File

@@ -144,8 +144,6 @@ namespace SeamlessClient
public static void SendSeamlessVersion() public static void SendSeamlessVersion()
{ {
ClientMessage response = new ClientMessage(SeamlessVersion.ToString()); ClientMessage response = new ClientMessage(SeamlessVersion.ToString());
MyAPIGateway.Multiplayer?.SendMessageToServer(SeamlessClientNetId, MessageUtils.Serialize(response)); MyAPIGateway.Multiplayer?.SendMessageToServer(SeamlessClientNetId, MessageUtils.Serialize(response));
Seamless.TryShow("Sending Seamless request..."); Seamless.TryShow("Sending Seamless request...");
@@ -165,7 +163,6 @@ namespace SeamlessClient
if (MyAPIGateway.Multiplayer == null) if (MyAPIGateway.Multiplayer == null)
{ {
isSeamlessServer = false; isSeamlessServer = false;
Initilized = false;
return; return;
} }