mirror of
https://github.com/minetest/minetest.git
synced 2024-11-10 01:33:46 +01:00
Weather: Fix uninitialized weather_update_time (sorry proller)
This commit is contained in:
parent
0aeecf3f7f
commit
b401e58c0d
@ -2841,6 +2841,8 @@ MapBlock* ServerMap::finishBlockMake(BlockMakeData *data,
|
||||
y<=blockpos_max.Y+extra_borders.Y; y++)
|
||||
{
|
||||
v3s16 p(x, y, z);
|
||||
MapBlock *block = getBlockNoCreateNoEx(p);
|
||||
block->weather_update_time = 0;
|
||||
updateBlockHeat(senv, p * MAP_BLOCKSIZE, NULL);
|
||||
updateBlockHumidity(senv, p * MAP_BLOCKSIZE, NULL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user