Skip to content

Commit

Permalink
MagRepack - Fix null in target storage (#82)
Browse files Browse the repository at this point in the history
Change approach for getting storage
  • Loading branch information
Kexanone authored Jun 28, 2024
1 parent a2925e9 commit 71fd822
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ modded class SCR_InventoryMenuUI : ChimeraMenuBase
m_pCallBack.m_pStorageFrom = m_pSelectedSlotUI.GetStorageUI();
m_pCallBack.m_pStorageTo = m_pFocusedSlotUI.GetStorageUI();

BaseInventoryStorageComponent fromItemStorageComponent = m_pCallBack.m_pStorageFrom.GetCurrentNavigationStorage();
BaseInventoryStorageComponent toItemStorageComponent = m_pFocusedSlotUI.GetAsStorage();
BaseInventoryStorageComponent fromItemStorageComponent = m_pCallBack.m_pStorageFrom.GetStorage();
BaseInventoryStorageComponent toItemStorageComponent = m_pCallBack.m_pStorageTo.GetStorage();

SCR_PlayerController playerController = SCR_PlayerController.Cast(GetGame().GetPlayerController());

Expand Down

0 comments on commit 71fd822

Please sign in to comment.