Fix #9388: thread unsafe use of NetworkAdminConsole/IConsolePrint
(cherry picked from commit d7a0e80fc18b689455eaca09883fccbcc722d7e3) # Conflicts: # src/debug.cpp # src/debug.h # src/table/settings/gui_settings.ini See: https://github.com/OpenTTD/OpenTTD/pull/9456
This commit is contained in:

committed by
Jonathan G Rennison

parent
63d8f3bdd7
commit
1c8f4bfaef
@@ -1360,6 +1360,12 @@ static bool InvalidateSettingsWindow(int32 p1)
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool DeveloperModeChanged(int32 p1)
|
||||
{
|
||||
DebugReconsiderSendRemoteMessages();
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Update any possible saveload window and delete any newgrf dialogue as
|
||||
* its widget parts might change. Reinit all windows as it allows access to the
|
||||
@@ -2241,6 +2247,7 @@ void LoadFromConfig(bool startup)
|
||||
HandleOldDiffCustom(false);
|
||||
|
||||
ValidateSettings();
|
||||
DebugReconsiderSendRemoteMessages();
|
||||
|
||||
PostZoningModeChange();
|
||||
|
||||
|
Reference in New Issue
Block a user