Fixed version and set debug to false to push latest version

This commit is contained in:
Bob Da Ross
2021-04-02 00:26:00 -05:00
parent e56d4fff94
commit 08d760a0b3
3 changed files with 11 additions and 3 deletions

View File

@@ -107,8 +107,8 @@ namespace SeamlessClientPlugin
public static string Version = "1.2.10";
public static bool Debug = true;
public static string Version = "1.2.12";
public static bool Debug = false;
private bool Initilized = false;

View File

@@ -143,6 +143,8 @@ namespace SeamlessClientPlugin.SeamlessTransfer
MethodInfo LoadingAction = typeof(MySessionLoader).GetMethod("LoadMultiplayerSession", BindingFlags.Public | BindingFlags.Static);
Patcher.Patch(LoadingAction, prefix: new HarmonyMethod(GetPatchMethod(nameof(LoadMultiplayerSession))));
}
@@ -193,6 +195,8 @@ namespace SeamlessClientPlugin.SeamlessTransfer
private static bool LoadMultiplayerSession(MyObjectBuilder_World world, MyMultiplayerBase multiplayerSession)
{
MyLog.Default.WriteLine("LoadSession() - Start");
if (!MyWorkshop.CheckLocalModsAllowed(world.Checkpoint.Mods, allowLocalMods: false))
{

View File

@@ -116,6 +116,9 @@ namespace SeamlessClientPlugin.SeamlessTransfer
}, "SeamlessClient");
return;
}
@@ -127,7 +130,8 @@ namespace SeamlessClientPlugin.SeamlessTransfer
if (MyMultiplayer.Static != null)
{
MyHud.Chat.UnregisterChat(MyMultiplayer.Static);
//OnPlayerCreated
//OnConnectedClient
try
{