(e93fc83e0) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev

This commit is contained in:
Joonas Rikkonen
2019-04-25 17:44:24 +03:00
parent 16bebd57be
commit 501a26ef0b
2 changed files with 2 additions and 11 deletions
@@ -33,7 +33,8 @@ namespace Barotrauma
//update client hulls if the amount of water has changed by >10%
//or if oxygen percentage has changed by 5%
if (Math.Abs(lastSentVolume - waterVolume) > Volume * 0.1f ||
Math.Abs(lastSentOxygen - OxygenPercentage) > 5f)
Math.Abs(lastSentOxygen - OxygenPercentage) > 5f ||
FireSources.Count > 0)
{
sendUpdateTimer -= deltaTime;
if (sendUpdateTimer < 0.0f)