Disable chat for the first 5s (configurable) after joining a server.

This commit is contained in:
Paul Chote
2021-09-20 22:34:42 +01:00
committed by abcdefg30
parent 9eab92e90a
commit 8588af1001
9 changed files with 99 additions and 13 deletions

View File

@@ -31,6 +31,7 @@ namespace OpenRA.Server
public readonly int PlayerIndex;
public readonly string AuthToken;
public readonly EndPoint EndPoint;
public readonly Stopwatch ConnectionTimer = Stopwatch.StartNew();
public long TimeSinceLastResponse => Game.RunTime - lastReceivedTime;