Skip to content
Permalink
Browse files

Fix day_night_ratio_do_override not being initialised server-side

Causes get_day_night_ratio() to return unpredictable results.
  • Loading branch information...
rubenwardy committed Oct 29, 2017
1 parent c252ed5 commit cd1140f69cf31c6c3885dd81c64e505ac1559487
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/remoteplayer.h
@@ -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 = "";

0 comments on commit cd1140f

Please sign in to comment.
You can’t perform that action at this time.