8 IEntity parent = inventoryStorage.GetOwner().GetParent();
11 Print(
"'SCR_SetLinkedStorageToParent DelayedInit()' of: '" + inventoryStorage.GetOwner() +
"' is trying to set itself as linked storage but it has no parent!", LogLevel.ERROR);
16 if (!parentInventoryStorage)
18 Print(
"'SCR_SetLinkedStorageToParent DelayedInit()' of: '" + inventoryStorage.GetOwner() +
"' is trying to set itself as linked storage but parent has no SCR_UniversalInventoryStorageComponent!", LogLevel.ERROR);
22 parentInventoryStorage.AddLinkedStorage(inventoryStorage);