Commit 6c8d0c8f authored by szzzzzzz's avatar szzzzzzz

保留密码

parent 84f4b369
...@@ -817,6 +817,8 @@ void Game::SaveConfig() { ...@@ -817,6 +817,8 @@ void Game::SaveConfig() {
fprintf(fp, "lastip = %s\n", linebuf); fprintf(fp, "lastip = %s\n", linebuf);
BufferIO::EncodeUTF8(gameConf.lastport, linebuf); BufferIO::EncodeUTF8(gameConf.lastport, linebuf);
fprintf(fp, "lastport = %s\n", linebuf); fprintf(fp, "lastport = %s\n", linebuf);
BufferIO::EncodeUTF8(gameConf.roompass, linebuf);
fprintf(fp, "roompass = %s\n", linebuf);
fclose(fp); fclose(fp);
} }
void Game::ShowCardInfo(int code) { void Game::ShowCardInfo(int code) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment