mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-23 08:08:47 -05: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