Hide polyrail auto-terraform mode behind a setting for now
This commit is contained in:
@@ -1080,7 +1080,7 @@ struct BuildRailToolbarWindow : Window {
|
||||
|
||||
EventState CM_OnFnModStateChange() override
|
||||
{
|
||||
if (this->IsWidgetLowered(WID_RAT_POLYRAIL)) {
|
||||
if (_settings_client.gui.cm_enable_polyrail_terraform && this->IsWidgetLowered(WID_RAT_POLYRAIL)) {
|
||||
return ES_HANDLED;
|
||||
}
|
||||
return ES_NOT_HANDLED;
|
||||
|
||||
Reference in New Issue
Block a user