fix crash when ringed and not inside a battle