From 70d9440d10db6caab4cc644247cb777df006bbdb Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sun, 25 Dec 2016 16:36:19 +0100 Subject: [PATCH] Fix player name not being loaded when using "Host with Netplay..." --- Source/Core/DolphinWX/NetPlay/NetPlayLauncher.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinWX/NetPlay/NetPlayLauncher.cpp b/Source/Core/DolphinWX/NetPlay/NetPlayLauncher.cpp index 4f8e3aeed5..5d0a5b783b 100644 --- a/Source/Core/DolphinWX/NetPlay/NetPlayLauncher.cpp +++ b/Source/Core/DolphinWX/NetPlay/NetPlayLauncher.cpp @@ -140,6 +140,8 @@ void NetPlayLaunchConfig::SetDialogInfo(const IniFile::Section& section, wxWindo void NetPlayHostConfig::FromIniConfig(IniFile::Section& netplay_section) { + netplay_section.Get("Nickname", &player_name, "Player"); + std::string traversal_choice_setting; netplay_section.Get("TraversalChoice", &traversal_choice_setting, "direct"); use_traversal = traversal_choice_setting == "traversal";