private float GetTemperature() { float temperature = Climate.GetTemperature(base.transform.position); if (this.PlacedInPlanter() && temperature < 10f) { temperature = 10f; } return(temperature); }
private float GetTemperature() { float num = Climate.GetTemperature(((Component)this).get_transform().get_position()); if (this.PlacedInPlanter() && (double)num < 10.0) { num = 10f; } return(num); }