Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
ed694ae95b | |||
e9a9e180a8 | |||
a8dfaf6239 |
@@ -16,6 +16,7 @@ using Microsoft.Extensions.Configuration;
|
||||
using NLog;
|
||||
using NLog.Targets;
|
||||
using Sandbox.Engine.Utils;
|
||||
using SpaceEngineers.Game;
|
||||
using Torch.Utils;
|
||||
using VRage.FileSystem;
|
||||
|
||||
@@ -103,6 +104,8 @@ namespace Torch.Server
|
||||
}
|
||||
#endif
|
||||
|
||||
SpaceEngineersGame.SetupBasicGameInfo();
|
||||
SpaceEngineersGame.SetupPerGameSettings();
|
||||
var uiThread = new Thread(() =>
|
||||
{
|
||||
var ui = new TorchUI(_server);
|
||||
@@ -115,8 +118,8 @@ namespace Torch.Server
|
||||
|
||||
uiThread.SetApartmentState(ApartmentState.STA);
|
||||
uiThread.Start();
|
||||
|
||||
_server.Init();
|
||||
|
||||
|
||||
if (Config.Autostart || Config.TempAutostart)
|
||||
{
|
||||
|
@@ -152,6 +152,7 @@ namespace Torch
|
||||
Environment.SetEnvironmentVariable("SteamAppId", _appSteamId.ToString());
|
||||
MyVRageWindows.Init("SpaceEngineersDedicated", MySandboxGame.Log, null, false);
|
||||
SpaceEngineersGame.SetupPerGameSettings();
|
||||
SpaceEngineersGame.SetupBasicGameInfo();
|
||||
MySessionComponentExtDebug.ForceDisable = true;
|
||||
MyPerGameSettings.SendLogToKeen = false;
|
||||
// SpaceEngineersGame.SetupAnalytics();
|
||||
|
Reference in New Issue
Block a user