added loadfile again, and pushed unpushed changes

This commit is contained in:
kremsy
2013-12-23 16:14:03 +01:00
parent 27aac6842e
commit 8b54c9f5ea
5 changed files with 75 additions and 10 deletions

View File

@ -71,7 +71,7 @@ class Player {
* @return bool
*/
// TODO: check for bot players
public function isFakePlayer() {
public function isFakePlayer() { //TODO Bot have also positive pids, so this is useless, just stringmatch *fake
return ($this->pid <= 0);
}
@ -86,7 +86,7 @@ class Player {
if (isset($pathParts[3])) {
return $pathParts[3];
}
return "";
return $this->getCountry();
}
/**