fix function

This commit is contained in:
Vitaliy Olkhin 2024-11-04 10:45:44 +05:00
parent 6976367127
commit 638f8accad

View File

@ -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)