- 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

@@ -174,6 +174,7 @@ public sealed class ActionContainerSystem : EntitySystem
public void TransferAllActionsFiltered(
EntityUid from,
EntityUid to,
EntityUid newAttached,
ActionsContainerComponent? oldContainer = null,
ActionsContainerComponent? newContainer = null)
{
@@ -189,7 +190,7 @@ public sealed class ActionContainerSystem : EntitySystem
if (actions.Select(act => MetaData(act).EntityPrototype?.ID).Any(ext => toAdd == ext))
continue;
TransferAction(action, to, container: newContainer);
TransferActionWithNewAttached(action, to, newAttached, container: newContainer);
}
}