* Get the connection string for the game coordinator from the environment variable OTTD_COORDINATOR_CS, * or when it has not been set a hard coded default DNS hostname of the production server. * @return The game coordinator's connection string. */
| 21 | * @return The game coordinator's connection string. |
| 22 | */ |
| 23 | std::string_view NetworkCoordinatorConnectionString() |
| 24 | { |
| 25 | return GetEnv("OTTD_COORDINATOR_CS").value_or("coordinator.openttd.org"); |
| 26 | } |
| 27 | |
| 28 | /** |
| 29 | * Get the connection string for the STUN server from the environment variable OTTD_STUN_CS, |