Closed polyline has an end somewhere

Nevermind, @Helvetosaur is a genius