1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02:00

CSM: Fix duplicate player names (#13910)

This commit is contained in:
SmallJoker
2023-10-22 15:31:29 +02:00
committed by GitHub
parent 3491509b21
commit 2fbf5f4250
8 changed files with 18 additions and 19 deletions

View File

@@ -23,6 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "threading/thread.h"
#include "util/container.h"
#include "log.h"
#include <set>
#include <sstream>
@@ -103,7 +104,7 @@ private:
u8 m_utf8_bytes_to_wait = 0;
std::string m_pending_utf8_bytes;
std::list<std::string> m_nicks;
std::set<std::string> m_nicks;
int m_cols;
int m_rows;