Dedicated server sends user stats when quitting
This commit is contained in:
@@ -124,6 +124,7 @@ namespace Barotrauma
|
|||||||
|
|
||||||
public void CloseServer()
|
public void CloseServer()
|
||||||
{
|
{
|
||||||
|
if (GameSettings.SendUserStatistics) GameAnalytics.OnStop();
|
||||||
Server.Disconnect();
|
Server.Disconnect();
|
||||||
Server = null;
|
Server = null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user