# HG changeset patch # User frosch # Date 2012-11-12 20:14:08 # Node ID 92e803d6d7ef175e04f23f1974c6f6f5de86ceee # Parent 9cb2abd2b89f0864a1b57e5beef6a8897039388f (svn r24717) -Fix [FS#5139]: When starting a scenario apply the local company settings to the new company. diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -717,6 +717,8 @@ bool AfterLoadGame() * But this exeption is not true for non dedicated network_servers! */ if (!Company::IsValidID(COMPANY_FIRST) && (!_networking || (_networking && _network_server && !_network_dedicated))) { DoStartupNewCompany(false); + Company *c = Company::Get(COMPANY_FIRST); + c->settings = _settings_client.company; } /* Fix the cache for cargo payments. */