MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / UpdateClientConfigValues

Function UpdateClientConfigValues

src/settings_table.cpp:580–589  ·  view source on GitHub ↗

Update the game info, and send it to the clients when we are running as a server. */

Source from the content-addressed store, hash-verified

578
579/** Update the game info, and send it to the clients when we are running as a server. */
580static void UpdateClientConfigValues()
581{
582 NetworkServerUpdateGameInfo();
583
584 InvalidateWindowData(WC_CLIENT_LIST, 0);
585
586 if (_network_server) {
587 NetworkServerSendConfigUpdate();
588 }
589}
590
591/**
592 * Callback for when the player changes the timekeeping units.

Callers

nothing calls this directly

Calls 3

InvalidateWindowDataFunction · 0.70

Tested by

no test coverage detected