fixed bug that was preventing AI from building ships