mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2025-04-15 20:25:16 +02:00
Set default maximum map zoom level to 3
Before this commit, it was inconsistent: 2 in `settingtypes.txt` and 4 in `mods/ITEMS/mcl_maps/init.lua`. 3 seems like a good enough compromise, as level 4 already opens considerable possibilities for nearly effortless DoS attacks.
This commit is contained in:
parent
4b6bf7dcf4
commit
046358ffea
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
-- Check for engine updates that allow improvements
|
||||
mcl_maps = {}
|
||||
|
||||
mcl_maps.max_zoom = (tonumber(core.settings:get("vl_maps_max_zoom")) or 4)
|
||||
mcl_maps.max_zoom = (tonumber(core.settings:get("vl_maps_max_zoom")) or 3)
|
||||
mcl_maps.enable_maps = core.settings:get_bool("enable_real_maps", true)
|
||||
mcl_maps.allow_nether_maps = core.settings:get_bool("vl_maps_allow_nether", true)
|
||||
mcl_maps.map_allow_overlap = core.settings:get_bool("vl_maps_allow_overlap", true) -- 50% overlap allowed in each level
|
||||
|
|
|
@ -327,7 +327,7 @@ vl_maps_allow_nether (Make maps in the Nether useful) bool true
|
|||
vl_maps_allow_overlap (Allow overlapping maps by 50%) bool true
|
||||
|
||||
# Maximum map zoom level permitted (high zoom levels can take very long, do not increase on multiplayer servers)
|
||||
vl_maps_max_zoom (Maximum Zoom Level) int 2 1 5
|
||||
vl_maps_max_zoom (Maximum map zoom level) int 3 1 5
|
||||
|
||||
# How many times per second should handheld maps be updated
|
||||
vl_maps_update_rate (Map updates per second) int 15 1 60
|
||||
|
|
Loading…
Add table
Reference in a new issue