(2d7903da7) Replaced some horizontal light components with vertical ones in tutorial outpost

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:02:10 +03:00
parent d70c463f41
commit 6fc8b8b573
16 changed files with 208 additions and 479 deletions
@@ -1876,6 +1876,10 @@ namespace Barotrauma
{
ApplyStatusEffects(!waterProof && inWater ? ActionType.InWater : ActionType.NotInWater, deltaTime);
}
if (!broken)
{
ApplyStatusEffects(!waterProof && inWater ? ActionType.InWater : ActionType.NotInWater, deltaTime);
}
ApplyStatusEffects(!waterProof && inWater ? ActionType.InWater : ActionType.NotInWater, deltaTime);
if (body == null || !body.Enabled || !inWater || ParentInventory != null || Removed) { return; }