Core/Refactor: Part 3

This commit is contained in:
hondacrx
2018-05-16 19:57:48 -04:00
parent 225a5d27f7
commit 5dacd669b5
112 changed files with 564 additions and 561 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ namespace Game.Movement
// Returns true to show that the arguments were configured correctly and MoveSpline initialization will succeed.
public bool Validate(Unit unit)
{
Func<bool, bool> CHECK = new Func<bool, bool>(exp =>
Func<bool, bool> CHECK = exp =>
{
if (!(exp))
{
@@ -62,7 +62,7 @@ namespace Game.Movement
return false;
}
return true;
});
};
if (!CHECK(path.Length > 1))
return false;