Private
Public Access
1
0

fix SteadyGreenhouses compat

This commit is contained in:
2026-03-21 01:57:23 +01:00
parent f394124771
commit d43a860441

View File

@@ -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)