updated dual-wield detection