From d11df2b700896c5244bd547797a4038f910b4bed Mon Sep 17 00:00:00 2001 From: Sage King Date: Thu, 4 Aug 2022 08:23:51 -0600 Subject: [PATCH] Refactored variable declared in NetPlayServer.cpp OnConnect() from npver to netplay_version --- Source/Core/Core/NetPlayServer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/Core/NetPlayServer.cpp b/Source/Core/Core/NetPlayServer.cpp index ddc62d4561..c17248bac9 100644 --- a/Source/Core/Core/NetPlayServer.cpp +++ b/Source/Core/Core/NetPlayServer.cpp @@ -393,10 +393,10 @@ ConnectionError NetPlayServer::OnConnect(ENetPeer* socket, sf::Packet& rpac) } socket->data = new PlayerId(pid); - std::string npver; - rpac >> npver; + std::string netplay_version; + rpac >> netplay_version; // Dolphin netplay version - if (npver != Common::GetScmRevGitStr()) + if (netplay_version != Common::GetScmRevGitStr()) return ConnectionError::VersionMismatch; // game is currently running or game start is pending