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

Function AskExitGameCallback

src/intro_gui.cpp:403–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401}
402
403static void AskExitGameCallback(Window *, bool confirmed)
404{
405 if (confirmed) {
406 _survey.Transmit(NetworkSurveyHandler::Reason::EXIT, true);
407 _exit_game = true;
408 }
409}
410
411void AskExitGame()
412{

Callers

nothing calls this directly

Calls 1

TransmitMethod · 0.80

Tested by

no test coverage detected