Skip to content

Commit

Permalink
Fixed pcons refilling despite "refill from storage" being disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
3vcloud committed Jan 6, 2025
1 parent ae05bed commit 2ee1cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GWToolboxdll/Windows/PconsWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2ee1cd9

Please sign in to comment.