Clear state when setting changed

This commit is contained in:
Jonathan G Rennison
2021-06-27 03:40:04 +01:00
parent e15acd3af8
commit 879a23811f
2 changed files with 11 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ static bool ClimateThresholdModeChanged(int32 p1);
static bool VelocityUnitsChanged(int32 p1);
static bool ChangeTrackTypeSortMode(int32 p1);
static bool PublicRoadsSettingChange(int32 p1);
static bool TrainSpeedAdaptionChanged(int32 p1);
static bool UpdateClientName(int32 p1);
static bool UpdateServerPassword(int32 p1);
@@ -1687,6 +1688,7 @@ def = true
str = STR_CONFIG_SETTING_TRAIN_SPEED_ADAPTION
strhelp = STR_CONFIG_SETTING_TRAIN_SPEED_ADAPTION_HELPTEXT
cat = SC_EXPERT
proc = TrainSpeedAdaptionChanged
patxname = ""train_speed_adaption.vehicle.train_speed_adaption""
[SDT_BOOL]