forked from CringeStudios/gamja
Fallback to bouncer network host if name is unset
This commit is contained in:
parent
8bdde589bb
commit
a31976586c
2
state.js
2
state.js
@ -71,7 +71,7 @@ export function getServerName(server, bouncerNetwork, isBouncer) {
|
||||
// User has picked a custom name for the network, use that
|
||||
return bouncerNetwork.name;
|
||||
}
|
||||
return netName || bouncerNetwork.name || "server";
|
||||
return netName || bouncerNetwork.name || bouncerNetwork.host || "server";
|
||||
}
|
||||
if (isBouncer) {
|
||||
return "bouncer";
|
||||
|
Loading…
x
Reference in New Issue
Block a user