[worldedge] Update to Git patch 3ff6429:

https://github.com/AntumDeluge/mtmod-worldedge/tree/3ff6429
This commit is contained in:
AntumDeluge 2017-06-06 19:32:08 -07:00
parent 2cc8523a9f
commit 6e0e505389
2 changed files with 5 additions and 3 deletions

View File

@ -541,4 +541,4 @@ The game includes the mods from the default [minetest_game](https://github.com/m
[patch.walking_light]: https://github.com/AntumDeluge/mtmod-walking_light/tree/8084572
[patch.windmill]: https://github.com/AntumDeluge/mtmod-windmill/tree/7756ab4
[patch.workbench]: https://github.com/AntumDeluge/mtmod-workbench/tree/b964323
[patch.worldedge]: https://github.com/AntumDeluge/mtmod-worldedge/tree/4f14aab
[patch.worldedge]: https://github.com/AntumDeluge/mtmod-worldedge/tree/3ff6429

View File

@ -2,12 +2,14 @@
-- TODO: Check for terrain height
-- Defines the edge of a world
local edge = tonumber(minetest.setting_get("world_edge")) or 30000
local edge = tonumber(minetest.settings:get("world_edge")) or 30000
-- Radius which should be checked for a good teleportation place
local radius = 2
--------------
minetest.log("action", "World edge: " .. edge)
if minetest.settings:get_bool("log_mods") then
minetest.log("action", "World edge: " .. edge)
end
local count = 0
local waiting_list = {}