Adhoc: Forgot that we have to load the server list in-game to check the connection mode

This commit is contained in:
Henrik Rydgård
2026-03-09 00:44:56 +01:00
parent 53f1f57bbc
commit cf9ee07b8e
3 changed files with 25 additions and 6 deletions
+1
View File
@@ -546,6 +546,7 @@ void GamePauseScreen::CreateViews() {
if (NetAdhocctl_GetState() >= ADHOCCTL_STATE_CONNECTED) {
// Awkwardly re-using a string here
saveDataScrollItems->Add(new TextView(ApplySafeSubstitutions("%1: %2 (%3)", nw->T("AdHoc server"), nw->T("Connected"), g_Config.sProAdhocServer)));
// TODO: Add more metadata about the connected ad-hoc server here.
}
}