diff --git a/src/menu/messagebox.cpp b/src/menu/messagebox.cpp index a97dc7bba..e7b6abcef 100644 --- a/src/menu/messagebox.cpp +++ b/src/menu/messagebox.cpp @@ -466,19 +466,7 @@ IMPLEMENT_CLASS(DEndGameMenu) DEndGameMenu::DEndGameMenu(bool playsound) { - int messageindex = gametic % gameinfo.quitmessages.Size(); - FString EndString = gameinfo.quitmessages[messageindex]; - - if (netgame) - { - EndString = GStrings("NETEND"); - return; - } - - EndString = GStrings("ENDGAME"); - - - Init(NULL, EndString, 0, playsound); + Init(NULL, GStrings(netgame ? "NETEND" : "ENDGAME"), 0, playsound); } //============================================================================= @@ -492,7 +480,10 @@ void DEndGameMenu::HandleResult(bool res) if (res) { M_ClearMenus (); - D_StartTitle (); + if (!netgame) + { + D_StartTitle (); + } } else {