(ff188f1b7) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:52:54 +03:00
parent 64f147ea6c
commit 8bfd104f82
13 changed files with 353 additions and 168 deletions
@@ -72,15 +72,7 @@ namespace Barotrauma
{
if (character.SelectedConstruction != target.Item)
{
if (character.SelectedConstruction != target.Item && target.CanBeSelected)
{
target.Item.TryInteract(character, false, true);
}
if (component.AIOperate(deltaTime, character, this))
{
isCompleted = true;
}
return;
isCompleted = true;
}
if (component.AIOperate(deltaTime, character, this))
{