From 50fceec016d67af652af8305755f9503b5e535cc Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Mon, 29 Aug 2022 00:19:11 +0200 Subject: [PATCH] Update error messages --- r5dev/gameui/IBrowser.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/r5dev/gameui/IBrowser.cpp b/r5dev/gameui/IBrowser.cpp index c2ec92d3..5f304aff 100644 --- a/r5dev/gameui/IBrowser.cpp +++ b/r5dev/gameui/IBrowser.cpp @@ -458,15 +458,15 @@ void CBrowser::HostPanel(void) { if (g_pServerListManager->m_Server.m_svHostName.empty()) { - svServerNameErr = "No server name assigned."; + svServerNameErr = "Server name is required."; } else if (g_pServerListManager->m_Server.m_svPlaylist.empty()) { - svServerNameErr = "No playlist assigned."; + svServerNameErr = "Playlist is required."; } else if (g_pServerListManager->m_Server.m_svHostMap.empty()) { - svServerNameErr = "No level name assigned."; + svServerNameErr = "Level name is required."; } } } @@ -483,11 +483,11 @@ void CBrowser::HostPanel(void) { if (g_pServerListManager->m_Server.m_svPlaylist.empty()) { - svServerNameErr = "No playlist assigned."; + svServerNameErr = "Playlist is required."; } else if (g_pServerListManager->m_Server.m_svHostMap.empty()) { - svServerNameErr = "No level name assigned."; + svServerNameErr = "Level name is required."; } } }