add hacks
This commit is contained in:
parent
dd0e9df23b
commit
1ef14ced41
5
hacks.lua
Normal file
5
hacks.lua
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-- disable mapblock sending optimization
|
||||||
|
-- the optimization does somehow not work with aligned full/empty(air) mapblocks
|
||||||
|
-- and resulted in weird unloaded areas in the distance
|
||||||
|
-- <insert rant about minetest emerge/loading mess here>
|
||||||
|
minetest.settings:set("block_send_optimize_distance", minetest.settings:get("max_block_send_distance"))
|
1
init.lua
1
init.lua
@ -20,6 +20,7 @@ dofile(MP .. "/remove.lua")
|
|||||||
dofile(MP .. "/chat.lua")
|
dofile(MP .. "/chat.lua")
|
||||||
dofile(MP .. "/tools.lua")
|
dofile(MP .. "/tools.lua")
|
||||||
dofile(MP .. "/events.lua")
|
dofile(MP .. "/events.lua")
|
||||||
|
dofile(MP .. "/hacks.lua")
|
||||||
dofile(MP .. "/mapgen.lua")
|
dofile(MP .. "/mapgen.lua")
|
||||||
|
|
||||||
if minetest.get_modpath("mtt") and mtt.enabled then
|
if minetest.get_modpath("mtt") and mtt.enabled then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user