Updated server logs so admins can see disguised persons
clientist should also display stuff TODO: Log inventory interactions like putting item in slots (e.g. oxy mask equipped in Head slot or equipped in Any slot, etc.) so you can tell the exact moment someone decided to disguise themselves.
This commit is contained in:
@@ -174,12 +174,12 @@ namespace Barotrauma.Items.Components
|
||||
var otherConnection = draggingConnected.OtherConnection(this);
|
||||
if (otherConnection == null)
|
||||
{
|
||||
GameServer.Log(Character.Controlled + " connected a wire to " +
|
||||
GameServer.Log(Character.Controlled.LogName + " connected a wire to " +
|
||||
Item.Name + " (" + Name + ")", ServerLog.MessageType.ItemInteraction);
|
||||
}
|
||||
else
|
||||
{
|
||||
GameServer.Log(Character.Controlled + " connected a wire from " +
|
||||
GameServer.Log(Character.Controlled.LogName + " connected a wire from " +
|
||||
Item.Name + " (" + Name + ") to " + otherConnection.item.Name + " (" + otherConnection.Name + ")", ServerLog.MessageType.ItemInteraction);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user