From 68015019ebc783d3155a4ef52f5a3bb3b6732083 Mon Sep 17 00:00:00 2001 From: Stanley Dimant Date: Tue, 10 Sep 2024 13:32:38 +0200 Subject: [PATCH] fix display of tris warning --- MareSynchronos/Services/PlayerPerformanceService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MareSynchronos/Services/PlayerPerformanceService.cs b/MareSynchronos/Services/PlayerPerformanceService.cs index 055ab9b..b5ef682 100644 --- a/MareSynchronos/Services/PlayerPerformanceService.cs +++ b/MareSynchronos/Services/PlayerPerformanceService.cs @@ -90,7 +90,7 @@ public class PlayerPerformanceService { warningText = $"Player {pairHandler.Pair.PlayerName} exceeds both VRAM warning threshold (" + $"{UiSharedService.ByteToString(vramUsage, true)}/{config.VRAMSizeWarningThresholdMiB} MiB) and " + - $"triangle warning threshold ({triUsage}/{config.TrisAutoPauseThresholdThousands * 1000} triangles)."; + $"triangle warning threshold ({triUsage}/{config.TrisWarningThresholdThousands * 1000} triangles)."; } _mediator.Publish(new NotificationMessage($"{pairHandler.Pair.PlayerName} ({pairHandler.Pair.UserData.AliasOrUID}) exceeds performance threshold(s)",