(8e4f5cb03) Add a disclaimer for switching from game to character editor.

This commit is contained in:
Joonas Rikkonen
2019-04-25 17:43:29 +03:00
parent 4e20fe871f
commit f4f87b454d
4 changed files with 70 additions and 2 deletions
@@ -33,8 +33,7 @@ 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 ||
FireSources.Count > 0)
Math.Abs(lastSentOxygen - OxygenPercentage) > 5f)
{
sendUpdateTimer -= deltaTime;
if (sendUpdateTimer < 0.0f)