If the pilot's name contains a dash, then it is displayed incorrectly on the pilot detail and kill detail pages.
Problem code in class.pilot.php at line 140:
Code: Select all
// Hacky, hacky, hack hack
// TODO: Fix this and change old kills to suit.
$pos = strpos($this->name, "- ");
if ($pos === false) return $this->name;
else if (strpos($this->name, "Moon") == false)
return substr($this->name, $pos + 2);
else return $this->name;