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

Method SendSurvey

src/crashlog.cpp:260–265  ·  view source on GitHub ↗

* Send the survey result, noting it was a crash. */

Source from the content-addressed store, hash-verified

258 * Send the survey result, noting it was a crash.
259 */
260void CrashLog::SendSurvey() const
261{
262 if (_game_mode == GM_NORMAL) {
263 _survey.Transmit(NetworkSurveyHandler::Reason::CRASH, true);
264 }
265}
266
267/**
268 * Makes the crash log, writes it to a file and then subsequently tries

Callers 1

MakeCrashLogMethod · 0.95

Calls 1

TransmitMethod · 0.80

Tested by

no test coverage detected