(6eeea9b7c) v0.9.10.0.0

This commit is contained in:
Joonas Rikkonen
2020-06-04 16:41:07 +03:00
parent ce4ccd99ac
commit eeac247a8e
366 changed files with 7772 additions and 3692 deletions
@@ -38,7 +38,9 @@ namespace Barotrauma
if (item.Submarine == null)
{
if (!(item.ParentInventory?.Owner is Character)) { continue; }
//items outside the sub don't count as destroyed if they're still in the traitor's inventory
bool carriedByTraitor = Traitors.Any(traitor => item.IsOwnedBy(traitor.Character));
if (!carriedByTraitor) { continue; }
}
else
{
@@ -5,7 +5,7 @@ using System;
using Barotrauma.Networking;
using Lidgren.Network;
using System.Collections.Generic;
using System.IO;
using Barotrauma.IO;
using System.Linq;
using System.Security.Cryptography;
using Barotrauma.Extensions;