idle timeout

This commit is contained in:
Vinzenz Schroeter 2024-04-12 14:28:57 +02:00
parent ad211433fb
commit 7e767d6dcb
5 changed files with 27 additions and 9 deletions

View file

@ -83,6 +83,8 @@ internal sealed class ControlsServer(ILogger<ControlsServer> logger, ILoggerFact
_ => throw new ArgumentException("invalid message type")
};
_player.LastInput = DateTime.Now;
switch (control)
{
case InputType.Forward: