mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Fix GameUI flag value regression introduced by a78659ed05
Added more strong unittests on that part to prevent future regression
This commit is contained in:
parent
67ed56be3b
commit
75aa41c6de
3 changed files with 11 additions and 4 deletions
|
@ -189,8 +189,6 @@ void GameUI::update(const RunStats &stats, Client *client, MapDrawControl *draw_
|
|||
void GameUI::initFlags()
|
||||
{
|
||||
m_flags = GameUI::Flags();
|
||||
m_flags.show_chat = true;
|
||||
m_flags.show_hud = true;
|
||||
m_flags.show_debug = g_settings->getBool("show_debug");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue