From f97ad14f0fe05d4026f0f1119338ac66c3e80ab1 Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Mon, 17 Nov 2025 22:02:57 +0000 Subject: [PATCH] Codechange: Replace favorite with favourite. --- src/company_cmd.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp index c336e4bf21..dd744314e8 100644 --- a/src/company_cmd.cpp +++ b/src/company_cmd.cpp @@ -623,8 +623,8 @@ Company *DoStartupNewCompany(bool is_ai, CompanyID company = CompanyID::Invalid( c->inaugurated_year = TimerGameEconomy::year; c->inaugurated_year_calendar = TimerGameCalendar::year; - /* If starting a player company in singleplayer and a favorite company manager face is selected, choose it. Otherwise, use a random face. - * In a network game, we'll choose the favorite face later in CmdCompanyCtrl to sync it to all clients. */ + /* If starting a player company in singleplayer and a favourite company manager face is selected, choose it. Otherwise, use a random face. + * In a network game, we'll choose the favourite face later in CmdCompanyCtrl to sync it to all clients. */ bool randomise_face = true; if (!_company_manager_face.empty() && !is_ai && !_networking) { auto cmf = ParseCompanyManagerFaceCode(_company_manager_face); @@ -917,7 +917,7 @@ CommandCost CmdCompanyCtrl(DoCommandFlags flags, CompanyCtrlAction cca, CompanyI SetLocalCompany(c->index); /* - * If a favorite company manager face is selected, choose it. Otherwise, use a random face. + * If a favourite company manager face is selected, choose it. Otherwise, use a random face. * Because this needs to be synchronised over the network, only the client knows * its configuration and we are currently in the execution of a command, we have * to circumvent the normal ::Post logic for commands and just send the command.