Makes some mind methods log.

This commit is contained in:
Vera Aguilera Puerto
2021-05-08 03:37:24 +02:00
parent 35fc0a2e8a
commit e3a2847200

View File

@@ -11,6 +11,7 @@ using Robust.Server.GameObjects;
using Robust.Server.Player;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Log;
using Robust.Shared.Network;
using Robust.Shared.Utility;
using Robust.Shared.ViewVariables;
@@ -236,6 +237,7 @@ namespace Content.Server.Mobs
if (Session != null && !alreadyAttached && VisitingEntity == null)
{
Session.AttachToEntity(entity);
Logger.Info($"Session {Session.Name} transferred to entity {entity}.");
}
}
@@ -293,6 +295,8 @@ namespace Content.Server.Mobs
var comp = entity.AddComponent<VisitingMindComponent>();
comp.Mind = this;
Logger.Info($"Session {Session?.Name} visiting entity {entity}.");
}
public void UnVisit()