Potential fix for #30
This commit is contained in:
@@ -118,7 +118,8 @@ class nodeObject {
|
||||
this.ip = _ip;
|
||||
this.port = _port;
|
||||
this.location = _location;
|
||||
this.nearbySystems = _nearbySystems;
|
||||
if (_nearbySystems && Array.isArray(_nearbySystems)) this.nearbySystems = _nearbySystems;
|
||||
else this.nearbySystems = Object.keys(_nearbySystems);
|
||||
this.online = _online;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user