From b0e5a3015673ce64f2b88f1159fe251ce452d469 Mon Sep 17 00:00:00 2001 From: David Leal Date: Thu, 27 Aug 2020 00:22:13 -0500 Subject: [PATCH] Update framework due to API changes --- framework.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/framework.lua b/framework.lua index 20817ec..7792cdc 100644 --- a/framework.lua +++ b/framework.lua @@ -7,6 +7,8 @@ function vehicle_mash.register_vehicle(name, def) terrain_type = def.terrain_type, collisionbox = def.collisionbox, can_fly = def.can_fly, + can_go_down = def.can_go_down, + can_go_up = def.can_go_up, player_rotation = def.player_rotation, driver_attach_at = def.driver_attach_at, driver_eye_offset = def.driver_eye_offset, @@ -137,7 +139,7 @@ function vehicle_mash.register_vehicle(name, def) end end, on_step = function(self, dtime) - drive(self, dtime, false, nil, nil, 0, def.can_fly) + drive(self, dtime, false, nil, nil, 0, def.can_fly, def.can_go_down, def.can_go_up) end })