Fix villages not being random enough

This commit is contained in:
Wuzzy 2019-09-04 11:34:06 +02:00
parent 0ed06e8a3a
commit 50e19202f6

View File

@ -51,7 +51,7 @@ minetest.register_node(
on_construct = function(pos) on_construct = function(pos)
minetest.remove_node(pos) minetest.remove_node(pos)
local pr = PseudoRandom(mapseed + pos.x + pos.y + pos.z) local pr = PseudoRandom(shortseed + pos.x + pos.y + pos.z)
village.spawn_village(pos, pr) village.spawn_village(pos, pr)
end, end,