diff --git a/tanks-backend/TanksServer/Interactivity/PlayerInfoConnection.cs b/tanks-backend/TanksServer/Interactivity/PlayerInfoConnection.cs index 74b39e4..c8fbbe7 100644 --- a/tanks-backend/TanksServer/Interactivity/PlayerInfoConnection.cs +++ b/tanks-backend/TanksServer/Interactivity/PlayerInfoConnection.cs @@ -13,7 +13,7 @@ internal sealed class PlayerInfoConnection( ) : WebsocketServerConnection(logger, new ByteChannelWebSocket(rawSocket, logger, 0)) { private readonly AppSerializerContext _context = new(new JsonSerializerOptions(JsonSerializerDefaults.Web)); - private bool _wantsInfoOnTick; + private bool _wantsInfoOnTick = true; private byte[] _lastMessage = []; protected override ValueTask HandleMessageLockedAsync(Memory buffer)