mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-22 20:35:24 +02:00
CSM: Fix duplicate player names (#13910)
This commit is contained in:
@@ -645,7 +645,7 @@ bool GUIChatConsole::OnEvent(const SEvent& event)
|
||||
{
|
||||
// Tab or Shift-Tab pressed
|
||||
// Nick completion
|
||||
std::list<std::string> names = m_client->getConnectedPlayerNames();
|
||||
auto names = m_client->getConnectedPlayerNames();
|
||||
bool backwards = event.KeyInput.Shift;
|
||||
prompt.nickCompletion(names, backwards);
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user