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

Function ClientNetworkEmergencySave

src/network/network_client.cpp:91–95  ·  view source on GitHub ↗

* Create an emergency savegame when the network connection is lost. */

Source from the content-addressed store, hash-verified

89 * Create an emergency savegame when the network connection is lost.
90 */
91void ClientNetworkEmergencySave()
92{
93 static FiosNumberedSaveName _netsave_ctr("netsave");
94 DoAutoOrNetsave(_netsave_ctr);
95}
96
97
98/**

Callers 5

ClientErrorMethod · 0.85
Receive_SERVER_ERRORMethod · 0.85
CloseConnectionMethod · 0.85

Calls 1

DoAutoOrNetsaveFunction · 0.85

Tested by

no test coverage detected