mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 09:38:19 +00:00
parent
0013615da1
commit
56b56ef2b9
|
@ -992,7 +992,11 @@ void CChat::OnPrepareLines(float y)
|
||||||
const char *pText = Line.m_aText;
|
const char *pText = Line.m_aText;
|
||||||
if(Config()->m_ClStreamerMode && Line.m_ClientId == SERVER_MSG)
|
if(Config()->m_ClStreamerMode && Line.m_ClientId == SERVER_MSG)
|
||||||
{
|
{
|
||||||
if(str_startswith(Line.m_aText, "Team save in progress. You'll be able to load with '/load") && str_endswith(Line.m_aText, "if it fails"))
|
if(str_startswith(Line.m_aText, "Team save in progress. You'll be able to load with '/load ") && str_endswith(Line.m_aText, "'"))
|
||||||
|
{
|
||||||
|
pText = "Team save in progress. You'll be able to load with '/load ***'";
|
||||||
|
}
|
||||||
|
else if(str_startswith(Line.m_aText, "Team save in progress. You'll be able to load with '/load") && str_endswith(Line.m_aText, "if it fails"))
|
||||||
{
|
{
|
||||||
pText = "Team save in progress. You'll be able to load with '/load ***' if save is successful or with '/load *** *** ***' if it fails";
|
pText = "Team save in progress. You'll be able to load with '/load ***' if save is successful or with '/load *** *** ***' if it fails";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue