diff --git a/tanks-backend/TanksServer/Interactivity/SendToServicePointDisplay.cs b/tanks-backend/TanksServer/Interactivity/SendToServicePointDisplay.cs index a21185b..3effe4d 100644 --- a/tanks-backend/TanksServer/Interactivity/SendToServicePointDisplay.cs +++ b/tanks-backend/TanksServer/Interactivity/SendToServicePointDisplay.cs @@ -4,6 +4,7 @@ using System.Net.Sockets; using ServicePoint2; using TanksServer.GameLogic; using TanksServer.Graphics; +using CompressionCode = ServicePoint2.BindGen.CompressionCode; namespace TanksServer.Interactivity; @@ -66,7 +67,8 @@ internal sealed class SendToServicePointDisplay : IFrameConsumer try { - _displayConnection.Send(Command.BitmapLinearWin(0, 0, observerPixels.Clone()).IntoPacket()); + _displayConnection.Send(Command.BitmapLinearWin(0, 0, observerPixels.Clone(), CompressionCode.Lzma) + .IntoPacket()); _displayConnection.Send(Command.Cp437Data(MapService.TilesPerRow, 0, _scoresBuffer.Clone()).IntoPacket()); } catch (SocketException ex) diff --git a/tanks-backend/servicepoint b/tanks-backend/servicepoint index 1dad113..eab2d58 160000 --- a/tanks-backend/servicepoint +++ b/tanks-backend/servicepoint @@ -1 +1 @@ -Subproject commit 1dad113ca1fab998bec9e2084e1751d640426619 +Subproject commit eab2d58945ebf68a4a6e8cf69cf113875fe6168d