diff options
author | erihel <erihel@gmail.com> | 2013-01-15 22:52:37 +0100 |
---|---|---|
committer | erihel <erihel@gmail.com> | 2013-01-15 22:52:37 +0100 |
commit | 01c39c88f67a924e6f067efdb16a750f8e19ea92 (patch) | |
tree | 06623802449661bc8c59b05ddbe0e8f13e735599 | |
parent | 58f35e44ae17a8d4c55b1b19696245666d3697d3 (diff) | |
download | colobot-01c39c88f67a924e6f067efdb16a750f8e19ea92.tar.gz colobot-01c39c88f67a924e6f067efdb16a750f8e19ea92.tar.bz2 colobot-01c39c88f67a924e6f067efdb16a750f8e19ea92.zip |
* Cleaning player list before getting new one (entering user menu several times appended user to existing list)
-rw-r--r-- | src/ui/maindialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp index d19166e..cf451e5 100644 --- a/src/ui/maindialog.cpp +++ b/src/ui/maindialog.cpp @@ -4676,6 +4676,7 @@ void CMainDialog::UpdateSceneChap(int &chap) { j = 0; fs::directory_iterator dirIt(m_savegameDir), dirEndIt; + m_userList.clear(); BOOST_FOREACH (const fs::path & p, std::make_pair(dirIt, dirEndIt)) { |