fixes crash when producing steam, also steam production is based on temperature not on layers now