Laserlicht 2 years ago
parent
commit
be6ed36422
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/CServerHandler.cpp

+ 1 - 1
client/CServerHandler.cpp

@@ -499,7 +499,7 @@ void CServerHandler::setPlayer(PlayerColor color) const
 	sendLobbyPack(lsp);
 }
 
-void CServerHandler::setPlayerName(PlayerColor color, std::string name) const
+void CServerHandler::setPlayerName(PlayerColor color, const std::string & name) const
 {
 	LobbySetPlayerName lspn;
 	lspn.color = color;