1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-17 17:08:39 +00:00

Fix Server triggering wrong errors if environment init fails

This commit is contained in:
sfan5 2020-05-07 21:39:04 +02:00
parent 4f9ccd89b3
commit 650168cada
2 changed files with 8 additions and 0 deletions

View file

@ -440,6 +440,8 @@ private:
IntervalLimiter m_active_blocks_management_interval;
IntervalLimiter m_active_block_modifier_interval;
IntervalLimiter m_active_blocks_nodemetadata_interval;
// Whether the variables below have been read from file yet
bool m_meta_loaded = false;
// Time from the beginning of the game in seconds.
// Incremented in step().
u32 m_game_time = 0;