- removed SDE database requirement from Pathfinder, #628

- improved "shattered" wormholes (e.g. UI updates on map, fixed broken statics,..), closed #647
- improved "route search" algorithm, WHs are no longer supposed to be "insecure"
This commit is contained in:
Mark Friedrich
2018-06-30 13:19:12 +02:00
parent e65d2b8bc0
commit e7184b7312
32 changed files with 653 additions and 913 deletions

View File

@@ -110,10 +110,10 @@ class SystemModel extends BasicUniverseModel {
$systemData->security = $this->security;
$systemData->trueSec = (float)$this->trueSec;
$systemData->effect = $this->effect;
$systemData->shattered = $this->shattered;
$systemData->shattered = (bool)$this->shattered;
if($this->starId){
$systemData->star = $this->starId->getData();
$systemData->star = $this->starId->getData();
}
if( !empty($planetsData = $this->getPlanetsData()) ){
@@ -125,7 +125,7 @@ class SystemModel extends BasicUniverseModel {
}
if( !empty($stargatesData = $this->getStargatesData()) ){
$systemData->stargates = $stargatesData;
$systemData->stargates = $stargatesData;
}
return $systemData;