Fixed version and set debug to false to push latest version
This commit is contained in:
@@ -107,8 +107,8 @@ namespace SeamlessClientPlugin
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
public static string Version = "1.2.10";
|
public static string Version = "1.2.12";
|
||||||
public static bool Debug = true;
|
public static bool Debug = false;
|
||||||
|
|
||||||
|
|
||||||
private bool Initilized = false;
|
private bool Initilized = false;
|
||||||
|
@@ -143,6 +143,8 @@ namespace SeamlessClientPlugin.SeamlessTransfer
|
|||||||
MethodInfo LoadingAction = typeof(MySessionLoader).GetMethod("LoadMultiplayerSession", BindingFlags.Public | BindingFlags.Static);
|
MethodInfo LoadingAction = typeof(MySessionLoader).GetMethod("LoadMultiplayerSession", BindingFlags.Public | BindingFlags.Static);
|
||||||
Patcher.Patch(LoadingAction, prefix: new HarmonyMethod(GetPatchMethod(nameof(LoadMultiplayerSession))));
|
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)
|
private static bool LoadMultiplayerSession(MyObjectBuilder_World world, MyMultiplayerBase multiplayerSession)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
MyLog.Default.WriteLine("LoadSession() - Start");
|
MyLog.Default.WriteLine("LoadSession() - Start");
|
||||||
if (!MyWorkshop.CheckLocalModsAllowed(world.Checkpoint.Mods, allowLocalMods: false))
|
if (!MyWorkshop.CheckLocalModsAllowed(world.Checkpoint.Mods, allowLocalMods: false))
|
||||||
{
|
{
|
||||||
|
@@ -116,6 +116,9 @@ namespace SeamlessClientPlugin.SeamlessTransfer
|
|||||||
}, "SeamlessClient");
|
}, "SeamlessClient");
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -127,7 +130,8 @@ namespace SeamlessClientPlugin.SeamlessTransfer
|
|||||||
if (MyMultiplayer.Static != null)
|
if (MyMultiplayer.Static != null)
|
||||||
{
|
{
|
||||||
MyHud.Chat.UnregisterChat(MyMultiplayer.Static);
|
MyHud.Chat.UnregisterChat(MyMultiplayer.Static);
|
||||||
|
//OnPlayerCreated
|
||||||
|
//OnConnectedClient
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user