Rename mapgen variables

This commit is contained in:
Wuzzy 2017-03-04 23:00:23 +01:00
parent 19150ddddb
commit 2495676e54
5 changed files with 27 additions and 19 deletions

View file

@ -122,7 +122,7 @@ minetest.register_globalstep(function(dtime)
end
-- Apply black sky in the Void and deal Void damage
if pos.y < mcl_vars.bedrock_overworld_max then
if pos.y < mcl_vars.mg_bedrock_overworld_max then
-- Player reached the void, set black sky box
player:set_sky("#000000", "plain")
-- FIXME: Sky handling in MCL2 is held together with lots of duct tape.