mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-23 13:40:35 +01:00
This commit is contained in:
parent
a361841848
commit
e49150f9ca
@ -1745,9 +1745,7 @@ struct BuildHouseWindow : public PickerWindow {
|
||||
|
||||
void OnInit() override
|
||||
{
|
||||
this->SetWidgetLoweredState(WID_BH_PROTECT_OFF, !this->house_protected);
|
||||
this->SetWidgetLoweredState(WID_BH_PROTECT_ON, this->house_protected);
|
||||
|
||||
this->InvalidateData(PickerInvalidation::Position);
|
||||
this->PickerWindow::OnInit();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user