mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix show_debug setting causing inconsistency between debug control and shown debug info
This commit is contained in:
parent
5bcb7983ec
commit
4c4918b154
2 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue