(d82a5d3f3) Use the wait delay for all objectives that are not orders (instead of just idle).

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:28:41 +03:00
parent 874bc07cfd
commit eadd063950
11 changed files with 297 additions and 580 deletions
@@ -1400,6 +1400,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; }