Bug fix: don't spend money if you can't buy refinery.