Fixed dedicated server stopping GameAnalytics and never restarting it when the "restart" console command is used. + Fixed typo in GameAnalyticsManager. Closes #492
This commit is contained in:
@@ -124,7 +124,6 @@ namespace Barotrauma
|
||||
|
||||
public void CloseServer()
|
||||
{
|
||||
if (GameSettings.SendUserStatistics) GameAnalytics.OnStop();
|
||||
Server.Disconnect();
|
||||
Server = null;
|
||||
}
|
||||
@@ -171,7 +170,6 @@ namespace Barotrauma
|
||||
stopwatch.Stop();
|
||||
|
||||
CloseServer();
|
||||
|
||||
}
|
||||
|
||||
public void ProcessInput()
|
||||
|
||||
Reference in New Issue
Block a user