@abcoathup Thanks for the reply!
I am aware of the cause of the issue. I was in fact trying to reply to this post: Msg.sender.transfer runs out of gas on a payable upgradeable proxy contract where you gave the same answer, but somehow made a new post instead.
I found that using msg.sender.call{ value: amount }("")
solves the issue, as suggested by the linked you posted. Unfortunately the contract I’m trying to interface with still uses msg.sender.transfer
and I can’t change that. I’ll try find another way around this.