How many coders does it take to change a lightbulb?

Coders don’t change lightbulbs; they program around them.

So as it turns out, something in my pathfinding makes things figure out that they should be going up when it would be better for them to go down, and vice versa.
The solution- don’t touch the pathfinding code, but if it tells you to go up, go down instead. Work lazier smarter, not harder.

wip5

 

-zagony

EDIT: That is not a solution. Unless running through walls at T intersections is desirable (which it isn’t). The problem turned out to be me using pythag wrong, and having x^2 * y^2, instead of x^2 + y^2. BUT IT IS FIXED NOW AND I HAVE A GAME TO MAKE. AWAYYYY!!!!!!!!!!!!!!!

ZAGONY