Fix villages not being random enough
This commit is contained in:
parent
0ed06e8a3a
commit
50e19202f6
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user