We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7412d2 commit 5de9c10Copy full SHA for 5de9c10
com.unity.netcode.gameobjects/Runtime/Transports/UTP/UnityTransport.cs
@@ -1170,7 +1170,7 @@ public override void DisconnectRemoteClient(ulong clientId)
1170
#if DEBUG
1171
if (m_State != State.Listening)
1172
{
1173
- Debug.LogWarning("DisconnectRemoteClient should be called on a listening server!");
+ Debug.LogWarning($"{nameof(DisconnectRemoteClient)} should only be called on a listening server!");
1174
return;
1175
}
1176
#endif
0 commit comments