Cloning rework (#3808)
* Fix cloning * Fix cloning after clone dies and remove unneeded code * Fix ignored Co-authored-by: Silver <silvertorch5@gmail.com>
This commit is contained in:
@@ -71,6 +71,7 @@ namespace Content.Server.GameObjects.Components.Mobs
|
||||
public void InternalAssignMind(Mind value)
|
||||
{
|
||||
Mind = value;
|
||||
Owner.EntityManager.EventBus.RaiseLocalEvent(Owner.Uid, new MindAddedMessage());
|
||||
}
|
||||
|
||||
protected override void Shutdown()
|
||||
@@ -156,4 +157,8 @@ namespace Content.Server.GameObjects.Components.Mobs
|
||||
public class MindRemovedMessage : EntityEventArgs
|
||||
{
|
||||
}
|
||||
|
||||
public class MindAddedMessage : EntityEventArgs
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user