From d2032772d3c61808a3d8e1b328ad581e7fdc85d5 Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Thu, 29 Aug 2024 21:44:25 +0200 Subject: [PATCH] fix SendToServicePointDisplay --- .../TanksServer/Interactivity/SendToServicePointDisplay.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tanks-backend/TanksServer/Interactivity/SendToServicePointDisplay.cs b/tanks-backend/TanksServer/Interactivity/SendToServicePointDisplay.cs index 0f57195..aa4366d 100644 --- a/tanks-backend/TanksServer/Interactivity/SendToServicePointDisplay.cs +++ b/tanks-backend/TanksServer/Interactivity/SendToServicePointDisplay.cs @@ -18,7 +18,7 @@ internal sealed class SendToServicePointDisplay : IFrameConsumer private readonly MapService _mapService; private readonly ILogger _logger; private readonly PlayerServer _players; - private readonly ByteGrid _scoresBuffer; + private readonly Cp437Grid _scoresBuffer; private readonly TimeSpan _minFrameTime; private readonly IOptionsMonitor _options; @@ -43,7 +43,7 @@ internal sealed class SendToServicePointDisplay : IFrameConsumer var localIp = GetLocalIPv4(displayConfig.Value).Split('.'); Debug.Assert(localIp.Length == 4); - _scoresBuffer = ByteGrid.New(12, 20); + _scoresBuffer = Cp437Grid.New(12, 20); _scoresBuffer[00] = "== TANKS! =="; _scoresBuffer[01] = "-- scores --";