Ollie Pearce swooped to snatch a 1-1 draw for York in their Enterprise National League derby against Halifax but saw two other efforts ruled out for offside.
The Shaymen took the lead after just three minutes when Owen Bray broke into the box and stood up a teasing cross for Will Harris to head home from close range.
Pearce saw his first attempt at equalising scrubbed off in first-half injury time, then Harris suffered the same fate on the hour.
Pearce’s next effort did count as he converted a loose ball with five minutes but the assistant referee intervened once again to deny the striker a late winner.