Refactor standing to be ECS (#4142)
* Refactor standing to be ECS E C S B A B Y * DONE * FIX IT FIX IT FIX IT * IsDown event * Change to methods * Fixes * Address some reviews * Last of the Mohicans * Final fixes * Fix tests
This commit is contained in:
@@ -131,11 +131,11 @@ namespace Content.Server.Morgue.Components
|
||||
}
|
||||
|
||||
victim.PopupMessageOtherClients(Loc.GetString("crematorium-entity-storage-component-suicide-message-others", ("victim", victim)));
|
||||
EntitySystem.Get<SharedStandingStateSystem>().Down(victim, false, false, true);
|
||||
|
||||
if (CanInsert(victim))
|
||||
{
|
||||
Insert(victim);
|
||||
EntitySystem.Get<StandingStateSystem>().Down(victim, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user