Merge pull request #4555 from JosJuice/right-click-host-name
Fix player name not being loaded when using "Host with Netplay..."
This commit is contained in:
commit
8ad6c3e911
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue