mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 14:08:19 +00:00
Fix Ok-button of warning popup not being localized
This commit is contained in:
parent
151956294d
commit
f8e84216fc
|
@ -703,7 +703,7 @@ void CGameClient::OnRender()
|
|||
{
|
||||
if(pWarning != nullptr && m_Menus.CanDisplayWarning())
|
||||
{
|
||||
m_Menus.PopupWarning(pWarning->m_aWarningTitle[0] == '\0' ? Localize("Warning") : pWarning->m_aWarningTitle, pWarning->m_aWarningMsg, "Ok", pWarning->m_AutoHide ? 10s : 0s);
|
||||
m_Menus.PopupWarning(pWarning->m_aWarningTitle[0] == '\0' ? Localize("Warning") : pWarning->m_aWarningTitle, pWarning->m_aWarningMsg, Localize("Ok"), pWarning->m_AutoHide ? 10s : 0s);
|
||||
pWarning->m_WasShown = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue