code refactoring
- improved comparing & checking - improved string composition
This commit is contained in:
@ -180,7 +180,7 @@ class Player {
|
||||
* @return bool
|
||||
*/
|
||||
public function isFakePlayer() {
|
||||
return ($this->pid <= 0 || $this->path == "");
|
||||
return ($this->pid <= 0 || !$this->path);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user