added village gen delay

This commit is contained in:
kaadmy 2015-09-01 17:27:27 -07:00
parent 2affc1a841
commit e35d8805a4
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ minetest.register_abm(
if node.name == "village:grassland_village_mg" then
if pr:next(1, 100) == 1 then
print("Spawning a (Mapgen)Grassland village at "..dump(pos))
village.spawn_village(pos, pr)
minetest.after(3.0, function() village.spawn_village(pos, pr) end) -- a short delay to (hopefully)ensure that the surrounding terrain is generated
end
else
print("Spawning a Grassland village at "..dump(pos))