Fixed vents, more powerful oxygen generators in vanilla subs

This commit is contained in:
Regalis
2016-05-30 18:25:50 +03:00
parent c71a935de6
commit c77060d485
5 changed files with 14 additions and 13 deletions
@@ -21,8 +21,6 @@ namespace Barotrauma.Items.Components
public override void Update(float deltaTime, Camera cam)
{
base.Update(deltaTime, cam);
if (item.CurrentHull == null) return;
item.CurrentHull.Oxygen += oxygenFlow * deltaTime;