Dedicated server sends user stats when quitting

This commit is contained in:
Joonas Rikkonen
2018-07-10 16:14:21 +03:00
parent c7e220d222
commit 04b420fc79

View File

@@ -124,6 +124,7 @@ namespace Barotrauma
public void CloseServer()
{
if (GameSettings.SendUserStatistics) GameAnalytics.OnStop();
Server.Disconnect();
Server = null;
}