Merge pull request #668 from Kinematics/4.1-dev

GearSwap: Updates for the new API
GearSwap: pet_midaction is never set in out_arr, only in the global var.
Simply return the _global.pet_midaction value (which is what gets set manually anyway).
Do the same for player midaction as well.