VideoConfig: Eliminate NetPlay related members.

This commit is contained in:
Jordan Woyak
2025-03-10 18:53:44 -05:00
parent 5ed8b7bc9d
commit 7f3d8a1ad4
5 changed files with 6 additions and 7 deletions

View File

@ -805,7 +805,8 @@ void NetPlayDialog::DisplayMessage(const QString& msg, const std::string& color,
QColor c(color.empty() ? QStringLiteral("white") : QString::fromStdString(color));
if (g_ActiveConfig.bShowNetPlayMessages && Core::IsRunning(Core::System::GetInstance()))
if (Config::Get(Config::GFX_SHOW_NETPLAY_MESSAGES) &&
Core::IsRunning(Core::System::GetInstance()))
{
g_netplay_chat_ui->AppendChat(msg.toStdString(),
{static_cast<float>(c.redF()), static_cast<float>(c.greenF()),