Commit e53fce59 authored by fallenstardust's avatar fallenstardust

fix chkHidePlayerName 值存储位置错误

parent 3ea23535
......@@ -1813,7 +1813,7 @@ void Game::SaveConfig() {
gameConf.chkDefaultShowChain = chkDefaultShowChain->isChecked() ? 1 : 0;
android::saveIntSetting(appMain, "chkDefaultShowChain", gameConf.chkDefaultShowChain);
gameConf.hide_player_name = chkHidePlayerName->isChecked() ? 1 : 0;
android::saveIntSetting(appMain, "chkHidePlayerName", gameConf.chkDefaultShowChain);
android::saveIntSetting(appMain, "chkHidePlayerName", gameConf.hide_player_name);
//gameConf.control_mode = control_mode->isChecked()?1:0;
// android::saveIntSetting(appMain, "control_mode", gameConf.control_mode);
}
......
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