aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Server
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-06-04 21:07:43 -0400
committerMichael <[email protected]>2017-06-04 21:07:43 -0400
commit3e11eca70481841b6e2f2253d667944779cfd5fb (patch)
treecd7a00d501affe96028bfb21a8dec90c2ee63f2c /ShiftOS.Server
parent5e40ae4e295b17f8acd4b8c3d98dd27d84b9fa37 (diff)
downloadshiftos_thereturn-3e11eca70481841b6e2f2253d667944779cfd5fb.tar.gz
shiftos_thereturn-3e11eca70481841b6e2f2253d667944779cfd5fb.tar.bz2
shiftos_thereturn-3e11eca70481841b6e2f2253d667944779cfd5fb.zip
Fix story autosave
Diffstat (limited to 'ShiftOS.Server')
-rw-r--r--ShiftOS.Server/Program.cs9
1 files changed, 1 insertions, 8 deletions
diff --git a/ShiftOS.Server/Program.cs b/ShiftOS.Server/Program.cs
index fa9ebee..5170ccd 100644
--- a/ShiftOS.Server/Program.cs
+++ b/ShiftOS.Server/Program.cs
@@ -155,13 +155,7 @@ namespace ShiftOS.Server
Console.WriteLine("FUCK. Something HORRIBLE JUST HAPPENED.");
};
- AppDomain.CurrentDomain.UnhandledException += (o, a) =>
- {
- if(server.IsOnline == true)
- server.Stop();
- System.Diagnostics.Process.Start("ShiftOS.Server.exe");
- };
-
+
server.OnReceived += (o, a) =>
{
var obj = a.Data.Object;
@@ -208,7 +202,6 @@ namespace ShiftOS.Server
task.Wait();
*/
- RandomUserGenerator.StartThread();
while (server.IsOnline)
{