Change how names for nodes are displayed

This commit is contained in:
Skylar Sadlier 2019-12-09 18:12:35 -07:00
parent 52bddfa603
commit a2a4f47604

View File

@ -14,7 +14,7 @@
icon: "icons/server.png",
label: function() {
if(this.host) {
return `Query: ${this.host}`;
return (this.server_type ? this.server_type : 'Query') + ': ' + this.host + (this.port ? ":" + this.port : '');
}
return this.name || 'Query Game Server';