mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix day_night_ratio_do_override not being initialised server-side
Causes get_day_night_ratio() to return unpredictable results.
This commit is contained in:
parent
c252ed506e
commit
cd1140f69c
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ private:
|
||||||
float m_chat_message_allowance = 5.0f;
|
float m_chat_message_allowance = 5.0f;
|
||||||
u16 m_message_rate_overhead = 0;
|
u16 m_message_rate_overhead = 0;
|
||||||
|
|
||||||
bool m_day_night_ratio_do_override;
|
bool m_day_night_ratio_do_override = false;
|
||||||
float m_day_night_ratio;
|
float m_day_night_ratio;
|
||||||
std::string hud_hotbar_image = "";
|
std::string hud_hotbar_image = "";
|
||||||
std::string hud_hotbar_selected_image = "";
|
std::string hud_hotbar_selected_image = "";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue