mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 03:23:45 +01: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
73baeb82ef
commit
416c4535c7
@ -156,7 +156,7 @@ private:
|
|||||||
float m_chat_message_allowance;
|
float m_chat_message_allowance;
|
||||||
u16 m_message_rate_overhead;
|
u16 m_message_rate_overhead;
|
||||||
|
|
||||||
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…
Reference in New Issue
Block a user