Skip to content

Commit 117d416

Browse files
committed
better format
1 parent 1b1e3f7 commit 117d416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/BossRoom/Scripts/Shared/Net/NetworkStats.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ void FixedUpdate()
104104
if (m_TextStat != null)
105105
{
106106
var transportRTT = NetworkManager.NetworkConfig.NetworkTransport.GetCurrentRtt(NetworkManager.ServerClientId);
107-
textToDisplay = $"{textToDisplay}RTT: {(LastRTT * 1000f).ToString()} ms; UTP RTT {transportRTT} ms";
107+
textToDisplay = $"{textToDisplay}RTT: {(LastRTT * 1000).ToString("0")} ms;\nUTP RTT {transportRTT.ToString("0")} ms";
108108
}
109109
}
110110

0 commit comments

Comments
 (0)