Collecting some more usage statistics: selected game mode, mission, submarine, content package, traitors on/off, kills

This commit is contained in:
Joonas Rikkonen
2018-07-10 14:05:27 +03:00
parent 51f2455ada
commit c7e220d222
13 changed files with 72 additions and 18 deletions
@@ -279,10 +279,8 @@ namespace Barotrauma
{
case "contentpackage":
string path = subElement.GetAttributeString("path", "");
SelectedContentPackage = ContentPackage.list.Find(cp => cp.Path == path);
if (SelectedContentPackage == null) SelectedContentPackage = new ContentPackage(path);
break;
}