RHSMODS / statusquo

23 stars 2 forks source link

(1.2) SP81 Pistol throws MagIndicator error #815

Closed Cyborgmatt closed 5 months ago

Cyborgmatt commented 5 months ago
  1. Add the SP81 to an arsenal or spawn one on the ground.
  2. Open the arsenal box or your inventory when standing beside it.
  3. Error will be thrown.
    
    SCRIPT       : Arsenal Item: {A5088C056E06D479}Prefabs/Weapons/Handguns/SP81/Handgun_SP81.et
    SCRIPT    (E): Virtual Machine Exception

Reason: NULL pointer to instance. Variable 'm_MagIndicator'

Class: 'SCR_ArsenalInventorySlotUI' Function: 'Init' Stack trace: Scripts/Game/UI/Inventory/SCR_InventorySlotUI.c:169 Function Init Scripts/Game/UI/Inventory/SCR_InventorySlotUI.c:169 Function HandlerAttached Scripts/Game/UI/Inventory/SCR_InventorySlotUI.c:169 Function UpdateReferencedComponent Scripts/Game/UI/Inventory/SCR_InventorySlotUI.c:169 Function SCR_InventorySlotUI#4433#1 Scripts/Game/UI/Inventory/SCR_InventorySlotUI.c:169 Function CreateSlotUI Scripts/Game/UI/Inventory/SCR_InventorySlotUI.c:169 Function UpdateOwnedSlots Scripts/Game/UI/Inventory/SCR_InventorySlotUI.c:169 Function FillItemsFromStorage Scripts/Game/UI/Inventory/SCR_InventorySlotUI.c:169 Function Traverse Scripts/Game/UI/Inventory/SCR_InventorySlotUI.c:169 Function SetOpenStorage Scripts/Game/UI/Inventory/SCR_InventorySlotUI.c:169 Function OnMenuOpen Scripts/Game/UI/Inventory/SCR_InventorySlotUI.c:169 Function OpenInventory Scripts/Game/UI/Inventory/SCR_InventorySlotUI.c:169 Function PerformActionInternal Scripts/Game/UI/Inventory/SCR_InventorySlotUI.c:169 Function PerformAction Scripts/Game/UI/Inventory/SCR_InventorySlotUI.c:169 Function DoProcessInteraction Scripts/Game/UI/Inventory/SCR_InventorySlotUI.c:169 Function OnPostFrame

odkupiciel375 commented 5 months ago

Already fixed internally in r2686