fix SteadyGreenhouses compat
This commit is contained in:
@@ -97,7 +97,10 @@ public readonly record struct BeehiveStats
|
|||||||
private static float GetTemperature(ClimateCondition climate, bool isGreenhouse)
|
private static float GetTemperature(ClimateCondition climate, bool isGreenhouse)
|
||||||
{
|
{
|
||||||
float currentTemperature = climate?.Temperature ?? 20f;
|
float currentTemperature = climate?.Temperature ?? 20f;
|
||||||
if (isGreenhouse)
|
|
||||||
|
if (!isGreenhouse)
|
||||||
|
return currentTemperature;
|
||||||
|
|
||||||
currentTemperature += 5;
|
currentTemperature += 5;
|
||||||
|
|
||||||
if (OrekiWoofsBeehivesModSystem.IsSteadyGreenhousesLoaded)
|
if (OrekiWoofsBeehivesModSystem.IsSteadyGreenhousesLoaded)
|
||||||
|
|||||||
Reference in New Issue
Block a user