From 2ee1cd9492fe28dd6bae1f60870bfee070e0923e Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 6 Jan 2025 08:53:27 +0000 Subject: [PATCH] Fixed pcons refilling despite "refill from storage" being disabled --- GWToolboxdll/Windows/PconsWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GWToolboxdll/Windows/PconsWindow.cpp b/GWToolboxdll/Windows/PconsWindow.cpp index 936f73cf4..d0dc42aaa 100644 --- a/GWToolboxdll/Windows/PconsWindow.cpp +++ b/GWToolboxdll/Windows/PconsWindow.cpp @@ -663,7 +663,7 @@ bool PconsWindow::SetEnabled(const bool b) return enabled; // Do nothing - already enabled/disabled. } enabled = b; - Refill(enabled); + Refill(enabled && Pcon::refill_if_below_threshold); switch (GW::Map::GetInstanceType()) { case InstanceType::Outpost: if (tick_with_pcons) {