(b597640aa) Implemented the new splash videos (each can be skipped separately), language selection on first startup works now

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:47:02 +03:00
parent 436c5d4d73
commit bb6bffe88a
16 changed files with 213 additions and 349 deletions
@@ -38,9 +38,6 @@ namespace Barotrauma
public override bool IsCompleted() => false;
public override bool CanBeCompleted => true;
public override bool IsCompleted() => false;
public override bool CanBeCompleted => true;
public override void Update(float deltaTime)
{
if (objectiveManager.CurrentObjective == this)
@@ -89,9 +86,6 @@ namespace Barotrauma
character.SelectedConstruction = null;
}
bool currentTargetIsInvalid = currentTarget == null || IsForbidden(currentTarget) ||
(PathSteering.CurrentPath != null && PathSteering.CurrentPath.Nodes.Any(n => HumanAIController.UnsafeHulls.Contains(n.CurrentHull)));
bool currentTargetIsInvalid = currentTarget == null || IsForbidden(currentTarget) ||
(PathSteering.CurrentPath != null && PathSteering.CurrentPath.Nodes.Any(n => HumanAIController.UnsafeHulls.Contains(n.CurrentHull)));