This commit is contained in:
Sardelka 2022-08-12 20:58:17 +08:00
parent 8d450813e1
commit 6e5f72ee70

View File

@ -85,7 +85,7 @@ namespace RageCoop.Client.Menus
if (server.ZeroTier) if (server.ZeroTier)
{ {
address=$"{server.ZeroTierAddress}:{server.Port}"; address=$"{server.ZeroTierAddress}:{server.Port}";
Main.QueueAction(() => { Notification.Show($"~y~Joining ZeroTier network... {address}"); }); Main.QueueAction(() => { Notification.Show($"~y~Joining ZeroTier network... {server.ZeroTierNetWorkID}"); });
if (ZeroTierHelper.Join(server.ZeroTierNetWorkID)==null) if (ZeroTierHelper.Join(server.ZeroTierNetWorkID)==null)
{ {
throw new Exception("Failed to obtain ZeroTier network IP"); throw new Exception("Failed to obtain ZeroTier network IP");