(6eeea9b7c) v0.9.10.0.0
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user