Skip to content

Commit

Permalink
Fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Splizard committed Dec 22, 2021
1 parent c8d0c17 commit d2b30f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mods/builda/guide.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--Load the guide from the file.
local guide = io.open(minetest.get_modpath("builda").."/guide.txt", "r"):read("a")
local guide = io.open(minetest.get_modpath("builda").."/guide.txt", "r"):read("*a")

city.guide = function(player)
local name = player:get_player_name()
Expand Down
2 changes: 1 addition & 1 deletion mods/builda/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ minetest.register_on_mapgen_init(function()
minetest.set_mapgen_setting("mgflat_spflags", "hills,lakes,nocaverns", true)
minetest.set_mapgen_setting("water_level", "8", true)

local seed = math.random(0, 2^32-1)
local seed = math.random(0, 2^28-1)
local existing = minetest.get_mapgen_setting_noiseparams("mgflat_np_terrain")
if existing then
seed = existing.seed
Expand Down

0 comments on commit d2b30f7

Please sign in to comment.