(3f4e69c0d) Only unequip items when idling. Fixes bots not being able to repair, because the tools were unequipped (if they were weapons).

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:34:03 +03:00
parent 155cb83f91
commit f667ed8e12
10 changed files with 201 additions and 248 deletions
@@ -96,6 +96,10 @@ namespace Barotrauma
{
isCompleted = true;
}
if (component.AIOperate(deltaTime, character, this))
{
isCompleted = true;
}
}
else
{