Possible to zoom out further when debugdraw is on, vents don't replenish oxygen when underwater, monster missions & events ignore spawnpoints that are too close to the main sub

This commit is contained in:
Regalis
2016-09-14 20:25:09 +03:00
parent 1f7bf250b5
commit 0265d075a5
4 changed files with 29 additions and 12 deletions
@@ -23,6 +23,8 @@ namespace Barotrauma.Items.Components
{
if (item.CurrentHull == null) return;
if (item.InWater) return;
item.CurrentHull.Oxygen += oxygenFlow * deltaTime;
OxygenFlow -= deltaTime * 1000.0f;
}