Skip to content

Commit

Permalink
Change hyper screen message to always have decimal point.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate West committed Oct 7, 2020
1 parent f891fdf commit 4e2da16
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified GameData/TimeControl/TimeControl.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion TimeControl/HyperWarpController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ private void UpdateScreenMessage()
ScreenMessage s;
if (PerformanceCountersOn)
{
string msg = "HYPER-WARP ".MemoizedConcat( (Math.Round( this.PhysicsTimeRatio, 1 )).MemoizedToString() ).MemoizedConcat( "x" );
string msg = "HYPER-WARP ".MemoizedConcat( (Math.Round( this.PhysicsTimeRatio, 1 )).MemoizedToString("0.0") ).MemoizedConcat( "x" );
if (msg != (this.currentScreenMessage?.message ?? ""))
{
s = new ScreenMessage( msg, Mathf.Infinity, ScreenMessageStyle.UPPER_CENTER );
Expand Down

0 comments on commit 4e2da16

Please sign in to comment.