Clients that are waiting for very old events are kicked

This commit is contained in:
juanjp600
2017-03-01 16:40:07 -03:00
parent 1b6468e1ec
commit e681a2d29a
5 changed files with 23 additions and 3 deletions
+1
View File
@@ -298,6 +298,7 @@ namespace Barotrauma
/// <param name="gameTime">Provides a snapshot of timing values.</param>
protected override void Update(GameTime gameTime)
{
Timing.TotalTime = gameTime.TotalGameTime.TotalSeconds;
Timing.Accumulator += gameTime.ElapsedGameTime.TotalSeconds;
PlayerInput.UpdateVariable();