Changeset - r26386:6d8cd5a6e076
[Not reviewed]
master
0 1 0
Tyler Trahan - 2 years ago 2022-09-12 15:42:55
tyler@tylertrahan.com
Fix ca19a0d: Send the proper network command when loading favorite face
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/company_cmd.cpp
Show inline comments
 
@@ -847,7 +847,7 @@ CommandCost CmdCompanyCtrl(DoCommandFlag
 

	
 
				/* In network games, we need to try setting the company manager face here to sync it to all clients.
 
				 * If a favorite company manager face is selected, choose it. Otherwise, use a random face. */
 
				if (_company_manager_face != 0) Command<CMD_SET_COMPANY_MANAGER_FACE>::Post(_company_manager_face);
 
				if (_company_manager_face != 0) Command<CMD_SET_COMPANY_MANAGER_FACE>::SendNet(STR_NULL, c->index, _company_manager_face);
 

	
 
				/* Now that we have a new company, broadcast our company settings to
 
				 * all clients so everything is in sync */
0 comments (0 inline, 0 general)