summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 6616555..06a2e08 100644
--- a/init.lua
+++ b/init.lua
@@ -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)