- fix: Fix broken ling transform. (#145)

This commit is contained in:
Aviu00
2024-02-29 19:38:10 +09:00
committed by GitHub
parent be32d673cb
commit df2f919a33
5 changed files with 31 additions and 4 deletions

View File

@@ -687,7 +687,7 @@ public sealed partial class ChangelingSystem
EntityManager.AddComponent(polymorphEntity.Value, toAdd);
_implantSystem.TransferImplants(uid, polymorphEntity.Value);
_actionContainerSystem.TransferAllActionsFiltered(uid, polymorphEntity.Value);
_actionContainerSystem.TransferAllActionsFiltered(uid, polymorphEntity.Value, polymorphEntity.Value);
_action.GrantContainedActions(polymorphEntity.Value, polymorphEntity.Value);
RemoveLesserFormActions(polymorphEntity.Value);
@@ -851,7 +851,7 @@ public sealed partial class ChangelingSystem
EntityManager.AddComponent(reverted.Value, toAdd);
_implantSystem.TransferImplants(uid, reverted.Value);
_actionContainerSystem.TransferAllActionsFiltered(uid, reverted.Value);
_actionContainerSystem.TransferAllActionsFiltered(uid, reverted.Value, reverted.Value);
_action.GrantContainedActions(reverted.Value, reverted.Value);
if (component.IsLesserForm)