mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Actually fix weather
The real problem was that MapBlocks were not activated before getting sent to the client
This commit is contained in:
parent
90e7832408
commit
e396fb2984
6 changed files with 44 additions and 40 deletions
|
@ -45,7 +45,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
MapBlock::MapBlock(Map *parent, v3s16 pos, IGameDef *gamedef, bool dummy):
|
||||
heat(0),
|
||||
humidity(0),
|
||||
weather_update_time(0),
|
||||
heat_last_update(0),
|
||||
humidity_last_update(0),
|
||||
m_parent(parent),
|
||||
m_pos(pos),
|
||||
m_gamedef(gamedef),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue