Skip to content

Commit 4e2da16

Browse files
author
Nate West
committed
Change hyper screen message to always have decimal point.
1 parent f891fdf commit 4e2da16

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
512 Bytes
Binary file not shown.

TimeControl/HyperWarpController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ private void UpdateScreenMessage()
440440
ScreenMessage s;
441441
if (PerformanceCountersOn)
442442
{
443-
string msg = "HYPER-WARP ".MemoizedConcat( (Math.Round( this.PhysicsTimeRatio, 1 )).MemoizedToString() ).MemoizedConcat( "x" );
443+
string msg = "HYPER-WARP ".MemoizedConcat( (Math.Round( this.PhysicsTimeRatio, 1 )).MemoizedToString("0.0") ).MemoizedConcat( "x" );
444444
if (msg != (this.currentScreenMessage?.message ?? ""))
445445
{
446446
s = new ScreenMessage( msg, Mathf.Infinity, ScreenMessageStyle.UPPER_CENTER );

0 commit comments

Comments
 (0)