Skip to content

Commit

Permalink
Fix day_night_ratio_do_override not being initialised server-side
Browse files Browse the repository at this point in the history
Causes get_day_night_ratio() to return unpredictable results.
  • Loading branch information
rubenwardy committed Oct 29, 2017
1 parent c252ed5 commit cd1140f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/remoteplayer.h
Expand Up @@ -159,7 +159,7 @@ class RemotePlayer : public Player
float m_chat_message_allowance = 5.0f;
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;
std::string hud_hotbar_image = "";
std::string hud_hotbar_selected_image = "";
Expand Down

0 comments on commit cd1140f

Please sign in to comment.