diff options
author | cheapie <no-email-for-you@example.com> | 2016-02-04 19:05:21 -0600 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2016-02-04 19:05:21 -0600 |
commit | 263c2642ebdf8779424689ef819d9166d7a0fac7 (patch) | |
tree | c6b45f4a545e8282806abf123e6ae4cbb103d1f0 | |
parent | 55221272978a4f8bb283747c66cb08743bbbc9a8 (diff) | |
download | cars-263c2642ebdf8779424689ef819d9166d7a0fac7.tar cars-263c2642ebdf8779424689ef819d9166d7a0fac7.tar.gz cars-263c2642ebdf8779424689ef819d9166d7a0fac7.tar.bz2 cars-263c2642ebdf8779424689ef819d9166d7a0fac7.tar.xz cars-263c2642ebdf8779424689ef819d9166d7a0fac7.zip |
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9,7 +9,7 @@ minetest.register_craftitem("cars:car",{ cars.current_cars[name].properties = user:get_properties() cars.current_cars[name].physics_override = user:get_physics_override() user:set_properties({visual="mesh",visual_size={x=1,y=1},mesh="cars_car.obj",textures={"cars_car.png"}}) - user:set_physics_override({speed=(minetest.setting_getbool("disable_anticheat")== true and 1.5 or 1),jump=0,gravity=2}) + user:set_physics_override({speed=(minetest.setting_getbool("disable_anticheat")== true and 3 or 1),jump=0,gravity=2}) else user:set_properties(cars.current_cars[name].properties) user:set_physics_override(cars.current_cars[name].physics_override) |