Skip to content

Commit

Permalink
remove grav stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
naturefreshmilk committed Aug 3, 2019
1 parent e234490 commit 323aa7f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ skybox.register({
name = "earth_cave",
miny = -32000,
maxy = -50,
gravity = 1,
sky_type = "plain",
sky_color = {r=0, g=0, b=0}
})
Expand All @@ -26,9 +25,7 @@ skybox.register({
name = "deepspace",
miny = 6001,
maxy = 10999,
gravity = 0.1,
always_day = true,
fly = true,
textures = {
"sky_pos_z.png",
"sky_neg_z.png^[transformR180",
Expand Down
1 change: 0 additions & 1 deletion skybox.lua
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ skybox.update_skybox = function(player)

player:set_sky(sky_color, sky_type, box.textures or {})
player:set_clouds(box.clouds or {density=0,speed=0})
player:set_physics_override({gravity=box.gravity})
if box.always_day then
player:override_day_night_ratio(1)
end
Expand Down

0 comments on commit 323aa7f

Please sign in to comment.