From 04b420fc7949cd993dc2b9a618d3ac3bb3b2fe03 Mon Sep 17 00:00:00 2001 From: Joonas Rikkonen Date: Tue, 10 Jul 2018 16:14:21 +0300 Subject: [PATCH] Dedicated server sends user stats when quitting --- Barotrauma/BarotraumaServer/Source/GameMain.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Barotrauma/BarotraumaServer/Source/GameMain.cs b/Barotrauma/BarotraumaServer/Source/GameMain.cs index f8f2f1ad5..699dc4b63 100644 --- a/Barotrauma/BarotraumaServer/Source/GameMain.cs +++ b/Barotrauma/BarotraumaServer/Source/GameMain.cs @@ -124,6 +124,7 @@ namespace Barotrauma public void CloseServer() { + if (GameSettings.SendUserStatistics) GameAnalytics.OnStop(); Server.Disconnect(); Server = null; }