fixed bug preventing emergency mode being set on drone