Added call to ai function in move for NPC ships