tgstation/-tg-station — pull request #828 by caelaislinn (2013-06-21 02:12:48+00:00)
Title: Reverts yvarov's astar rewrite from 16/5

Maintains the other associated fixes/changes.

I'm unsure about "BestF" in the master_controller (whatever it is) but after this change it seems to work fine in testing regardless.