Go to the BP_PlayerInventory then open the RemoveAttachment function and create a new local variable called InReloadL and set its type to Boolean. Then add the highlighted nodes in the image below.