More resharper cleanup

This commit is contained in:
Regalis11
2015-06-07 18:03:08 +03:00
parent f786cd3016
commit 34b79c85d6
62 changed files with 99 additions and 195 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ namespace Subsurface
wayPoints.Add(wayPoint);
}
if (wayPoints.Count() == 0) return null;
if (!wayPoints.Any()) return null;
return wayPoints[Game1.random.Next(wayPoints.Count())];
}