- Drag&Drop a connection where source or target system is an Abyss system, should switch connection type to "abyss"
- fixed js bug in "route finder" module - fixed UI z-Index glitch where systems "overlap" context menu
This commit is contained in:
@@ -554,18 +554,26 @@ class SystemModel extends AbstractMapTrackingModel {
|
||||
* check whether this system is a wormhole
|
||||
* @return bool
|
||||
*/
|
||||
public function isWormhole(){
|
||||
public function isWormhole() : bool {
|
||||
return ($this->typeId->id === 1);
|
||||
}
|
||||
|
||||
/**
|
||||
* check whether this syste is a shattered wormhole
|
||||
* check whether this system is a shattered wormhole
|
||||
* @return bool
|
||||
*/
|
||||
public function isShatteredWormhole(){
|
||||
public function isShatteredWormhole() : bool {
|
||||
return ($this->isWormhole() && $this->security === 'SH');
|
||||
}
|
||||
|
||||
/**
|
||||
* check whether this system is an Abyss system
|
||||
* @return bool
|
||||
*/
|
||||
public function isAbyss() : bool {
|
||||
return ($this->typeId->id === 3 && $this->security === 'A');
|
||||
}
|
||||
|
||||
/**
|
||||
* send rally point poke to various "APIs"
|
||||
* -> send to a Slack channel
|
||||
|
||||
Reference in New Issue
Block a user