Added some debug logging, Character.Revive removes the existing AITarget from the character before creating a new one

This commit is contained in:
Joonas Rikkonen
2018-02-26 18:05:03 +02:00
parent 1c68d5a4d7
commit 77940fa992
4 changed files with 16 additions and 0 deletions
@@ -1555,6 +1555,8 @@ namespace Barotrauma
ushort inventoryId = msg.ReadUInt16();
DebugConsole.Log("Received entity spawn message for item " + itemName + ".");
Vector2 pos = Vector2.Zero;
Submarine sub = null;
int inventorySlotIndex = -1;