That did help solve the problem, thank you! The AI was stuck in a loop of failing actions. I now prevent this by having the AI give up after a few tries xD