Removed loading screen image crap

This commit is contained in:
Bob Da Ross
2021-06-18 23:27:34 -05:00
parent 5d489f88b8
commit c7cecca148
4 changed files with 111 additions and 45 deletions

View File

@@ -144,8 +144,6 @@ namespace SeamlessClientPlugin
{
TryShow("Initilizing Communications!");
RunInitilizations();
}
//OnNewPlayerRequest
//throw new NotImplementedException();
@@ -170,13 +168,7 @@ namespace SeamlessClientPlugin
}
public static void RunInitilizations()
{
@@ -214,31 +206,6 @@ namespace SeamlessClientPlugin
}
public static void RestartClientAfterUpdate()
{
try
{
TryShow("Restarting Client!");
string exe = Assembly.GetEntryAssembly().Location;
Process currentProcess = Process.GetCurrentProcess();
string[] CommandArgs = Environment.GetCommandLineArgs();
string NewCommandLine = "";
for (int i = 1; i < CommandArgs.Length; i++)
{
NewCommandLine += " " + CommandArgs[i];
}
TryShow(NewCommandLine);
Process.Start(exe, NewCommandLine);
currentProcess.Kill();
}
catch (Exception ex)
{
TryShow("Restarting Client error!");
}
}
public static void TryShow(string message)
{
if (MySession.Static?.LocalHumanPlayer != null && Debug)