From 2def856707f98e3030fdd15f6decd30346ca2207 Mon Sep 17 00:00:00 2001 From: vis2k Date: Sat, 3 Dec 2022 18:45:51 -0500 Subject: [PATCH] syntax --- Assets/Mirror/Tests/Editor/MultiplexTransportTest.cs | 1 + Assets/Mirror/Transports/Multiplex/MultiplexTransport.cs | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Assets/Mirror/Tests/Editor/MultiplexTransportTest.cs b/Assets/Mirror/Tests/Editor/MultiplexTransportTest.cs index 3f8eefdaa..514241fa3 100644 --- a/Assets/Mirror/Tests/Editor/MultiplexTransportTest.cs +++ b/Assets/Mirror/Tests/Editor/MultiplexTransportTest.cs @@ -26,6 +26,7 @@ public void Setup() [TearDown] public override void TearDown() => base.TearDown(); + [Test] public void FromBaseId() { diff --git a/Assets/Mirror/Transports/Multiplex/MultiplexTransport.cs b/Assets/Mirror/Transports/Multiplex/MultiplexTransport.cs index abebe1795..63ad9064e 100644 --- a/Assets/Mirror/Transports/Multiplex/MultiplexTransport.cs +++ b/Assets/Mirror/Transports/Multiplex/MultiplexTransport.cs @@ -177,11 +177,8 @@ void AddServerCallbacks() // for now returns the first uri, // should we return all available uris? - public override Uri ServerUri() - { - return transports[0].ServerUri(); - } - + public override Uri ServerUri() => + transports[0].ServerUri(); public override bool ServerActive() {