fix function
This commit is contained in:
parent
6976367127
commit
638f8accad
2
sky.lua
2
sky.lua
@ -461,7 +461,7 @@ minetest.register_globalstep(function(dtime)
|
||||
elseif minetest.get_player_by_name(name) and pos.y >= space_travel.io and pos.y < space_travel.io_orbit then --Io orbit
|
||||
player:set_sky({r = 0, g = 0, b = 0}, "skybox", io_space)
|
||||
player:set_clouds({density = 0})
|
||||
player:set_physics_override(1, 0.6, 0.2) -- speed, jump, gravity
|
||||
player:set_physics_override({1, 0.6, 0.2}) -- speed, jump, gravity
|
||||
set_weightlessness(name, true)
|
||||
elseif minetest.get_player_by_name(name) and pos.y >= space_travel.io_orbit and pos.y < space_travel.europa then --Europa sky
|
||||
player:set_sky({r = 0, g = 0, b = 0}, "skybox", jupiter_space)
|
||||
|
Loading…
Reference in New Issue
Block a user