From 5b8d97ec730f16a39586e55ffb71241171c03a46 Mon Sep 17 00:00:00 2001 From: Aebestach <64588584+Aebestach@users.noreply.github.com> Date: Wed, 12 Feb 2025 22:43:43 +0800 Subject: [PATCH] Update ModuleDeployableSolarPanelPowerHandler.cs Fixed the bug that WDSP is displayed as 0 in VAB/SPH --- .../Handlers/Stock/ModuleDeployableSolarPanelPowerHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/DynamicBatteryStorage/Handlers/Stock/ModuleDeployableSolarPanelPowerHandler.cs b/Source/DynamicBatteryStorage/Handlers/Stock/ModuleDeployableSolarPanelPowerHandler.cs index 8197861..7062958 100644 --- a/Source/DynamicBatteryStorage/Handlers/Stock/ModuleDeployableSolarPanelPowerHandler.cs +++ b/Source/DynamicBatteryStorage/Handlers/Stock/ModuleDeployableSolarPanelPowerHandler.cs @@ -50,7 +50,7 @@ protected override double GetValueEditor() rate = panel.chargeRate; } - if (Settings.Kopernicus && Settings.KopernicusMultiStar) + if ((Settings.Kopernicus && Settings.KopernicusMultiStar) || Settings.WeatherDrivenSolarPanel) { rate = cachedRate; }