Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -596,16 +596,10 @@ WindowMsgHandledType PopupHostGameSystem( GameWindow *window, UnsignedInt msg, W
name.trim();
if(name.isEmpty())
{
NGMP_OnlineServices_AuthInterface* pAuthInterface = NGMP_OnlineServicesManager::GetInterface<NGMP_OnlineServices_AuthInterface>();
if (pAuthInterface != nullptr)
{
name.format(L"%s", pAuthInterface->GetDisplayName());
GadgetTextEntrySetText(textEntryGameName, name);
}
else
{
name = L"Generals Online Lobby";
}
SetLobbyAttemptHostJoin(FALSE);
GameSpyCloseOverlay(GSOVERLAY_GAMEOPTIONS);
GSMessageBoxOk(TheGameText->fetch("GUI:Error"), UnicodeString(L"Please enter a lobby name."), nullptr);
break;
}
#if defined(GENERALS_ONLINE)
// save last used lobby name to CustomPref.ini
Expand Down
Loading