slight bugfix to patrol feature, thanks to maveric149 for finding it