experiment 2123
This commit is contained in:
parent
222a81b99e
commit
c970279be0
@ -618,7 +618,9 @@ minetest.register_entity("automobiles_buggy:buggy", {
|
||||
|
||||
if stop ~= true then
|
||||
--self.object:set_velocity(velocity)
|
||||
self.object:set_acceleration(self.object:get_acceleration())
|
||||
if player then
|
||||
automobiles_lib.attach_driver(self, player)
|
||||
end
|
||||
self.object:set_acceleration(accel)
|
||||
else
|
||||
if stop == true then
|
||||
|
@ -646,7 +646,9 @@ minetest.register_entity("automobiles_coupe:coupe", {
|
||||
|
||||
if stop ~= true then
|
||||
--self.object:set_velocity(velocity)
|
||||
self.object:set_acceleration(self.object:get_acceleration())
|
||||
if player then
|
||||
automobiles_lib.attach_driver(self, player)
|
||||
end
|
||||
self.object:set_acceleration(accel)
|
||||
else
|
||||
if stop == true then
|
||||
|
@ -591,7 +591,9 @@ minetest.register_entity("automobiles_roadster:roadster", {
|
||||
|
||||
if stop ~= true then
|
||||
--self.object:set_velocity(velocity)
|
||||
self.object:set_acceleration(self.object:get_acceleration())
|
||||
if player then
|
||||
automobiles_lib.attach_driver(self, player)
|
||||
end
|
||||
self.object:set_acceleration(accel)
|
||||
else
|
||||
if stop == true then
|
||||
|
Loading…
x
Reference in New Issue
Block a user