Fixed bug in AI, ai should now avoid tiles with no resources