Laserlicht 2 年之前
父节点
当前提交
be6ed36422
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;