1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Fix show_debug setting causing inconsistency between debug control and shown debug info

This commit is contained in:
DS
2025-01-05 13:20:21 +01:00
committed by GitHub
parent 5bcb7983ec
commit 4c4918b154
2 changed files with 4 additions and 1 deletions

View File

@@ -896,6 +896,10 @@ bool Game::startup(bool *kill,
runData.time_from_last_punch = 10.0;
m_game_ui->initFlags();
if (g_settings->getBool("show_debug")) {
m_flags.debug_state = 1;
m_game_ui->m_flags.show_minimal_debug = true;
}
m_first_loop_after_window_activation = true;