9 IEntity parent = inventoryStorage.GetOwner().GetParent();
12 Print(
"'SCR_MirrorLinkStorageToParent DelayedInit()' of: '" + inventoryStorage.GetOwner() +
"' is trying to set itself as linked storage but it has no parent!", LogLevel.ERROR);
17 if (!parentInventoryStorage)
19 Print(
"'SCR_MirrorLinkStorageToParent DelayedInit()' of: '" + inventoryStorage.GetOwner() +
"' is trying to set itself as linked storage but parent has no SCR_UniversalInventoryStorageComponent!", LogLevel.ERROR);
24 parentInventoryStorage.AddLinkedStorage(inventoryStorage);
27 inventoryStorage.AddLinkedStorage(parentInventoryStorage);