summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2016-02-04 19:05:21 -0600
committercheapie <no-email-for-you@example.com>2016-02-04 19:05:21 -0600
commit263c2642ebdf8779424689ef819d9166d7a0fac7 (patch)
treec6b45f4a545e8282806abf123e6ae4cbb103d1f0
parent55221272978a4f8bb283747c66cb08743bbbc9a8 (diff)
downloadcars-263c2642ebdf8779424689ef819d9166d7a0fac7.tar
cars-263c2642ebdf8779424689ef819d9166d7a0fac7.tar.gz
cars-263c2642ebdf8779424689ef819d9166d7a0fac7.tar.bz2
cars-263c2642ebdf8779424689ef819d9166d7a0fac7.tar.xz
cars-263c2642ebdf8779424689ef819d9166d7a0fac7.zip
Increase speed even more when anticheat is offHEADmaster
-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)