Playing injured to distract me away from the nest. Often seen by waders but I haven't seen Nightjars do it before.