File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
com.unity.netcode.gameobjects Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -1471,7 +1471,7 @@ private void HostServerInitialize()
14711471 /// <returns>The TransportId associated with the given ClientId</returns>
14721472 public ulong GetTransportIdFromClientId ( ulong clientId )
14731473 {
1474- var ( id , success ) = ConnectionManager . TransportIdToClientId ( clientId ) ;
1474+ var ( id , success ) = ConnectionManager . TransportIdToClientId ( clientId ) ;
14751475 return success ? id : ulong . MaxValue ;
14761476 }
14771477
@@ -1482,7 +1482,7 @@ public ulong GetTransportIdFromClientId(ulong clientId)
14821482 /// <returns>The ClientId from the associated TransportId</returns>
14831483 public ulong GetClientIdFromTransportId ( ulong transportId )
14841484 {
1485- var ( id , success ) = ConnectionManager . TransportIdToClientId ( transportId ) ;
1485+ var ( id , success ) = ConnectionManager . TransportIdToClientId ( transportId ) ;
14861486 return success ? id : ulong . MaxValue ;
14871487 }
14881488
Original file line number Diff line number Diff line change 11using Unity . Collections ;
2- using UnityEngine ;
32
43namespace Unity . Netcode
54{
Original file line number Diff line number Diff line change @@ -651,7 +651,10 @@ public IEnumerator SetUp()
651651 }
652652
653653 // Setup the frames per tick for time travel advance to next tick
654- ConfigureFramesPerTick ( ) ;
654+ if ( m_EnableTimeTravel )
655+ {
656+ ConfigureFramesPerTick ( ) ;
657+ }
655658 }
656659
657660 if ( m_SetupIsACoroutine )
Original file line number Diff line number Diff line change 11using System . Collections ;
2- using System . Linq ;
32using NUnit . Framework ;
43using Unity . Netcode . TestHelpers . Runtime ;
54using UnityEngine . TestTools ;
@@ -28,7 +27,7 @@ public IEnumerator MultipleDisconnectEventsNoop()
2827 clientTransport . DisconnectLocalClient ( ) ;
2928 clientTransport . DisconnectLocalClient ( ) ;
3029
31- // completely stop and clean up the client
30+ // completely stop and clean up the client
3231 yield return StopOneClient ( clientToDisconnect ) ;
3332
3433 var expectedConnectedClients = m_UseHost ? NumberOfClients : NumberOfClients - 1 ;
You can’t perform that action at this time.
0 commit comments