Skip to content

Commit 5de9c10

Browse files
NoelStephensUnitymichalChrobot
authored andcommitted
style
Cleaning up message a bit.
1 parent a7412d2 commit 5de9c10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.netcode.gameobjects/Runtime/Transports/UTP/UnityTransport.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ public override void DisconnectRemoteClient(ulong clientId)
11701170
#if DEBUG
11711171
if (m_State != State.Listening)
11721172
{
1173-
Debug.LogWarning("DisconnectRemoteClient should be called on a listening server!");
1173+
Debug.LogWarning($"{nameof(DisconnectRemoteClient)} should only be called on a listening server!");
11741174
return;
11751175
}
11761176
#endif

0 commit comments

Comments
 (0)