Reset text color after kill messages are created

This commit is contained in:
Jupeyy 2021-10-29 00:11:21 +02:00
parent 6efd65d62d
commit cc87d49c9b
2 changed files with 2 additions and 1 deletions

View file

@ -103,6 +103,7 @@ void CKillMessages::CreateKillmessageNamesIfNotCreated(CKillMsg &Kill)
Kill.m_KillerTextContainerIndex = TextRender()->CreateTextContainer(&Cursor, Kill.m_aKillerName);
}
TextRender()->TextColor(TextRender()->DefaultTextColor());
}
void CKillMessages::OnMessage(int MsgType, void *pRawMsg)

View file

@ -2370,7 +2370,7 @@ void CMenus::RenderSettingsHUD(CUIRect MainView)
TextRender()->TextEx(&Cursor, "*** Echo command executed", -1);
TextRender()->SetCursorPosition(&Cursor, X, Y);
TextRender()->TextColor(1, 1, 1, 1);
TextRender()->TextColor(TextRender()->DefaultTextColor());
}
}