From e0f05609f7539915e650fd53adc59775c8ddaf37 Mon Sep 17 00:00:00 2001 From: Alexsandro Percy Date: Tue, 28 Feb 2023 08:25:54 -0300 Subject: [PATCH] Update control.lua removed reference to automobiles --- control.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control.lua b/control.lua index 79550a3..4931319 100755 --- a/control.lua +++ b/control.lua @@ -100,7 +100,7 @@ function ap_airship.control(self, dtime, hull_direction, longit_speed, accel) --end lift --check if is near the ground, so revert the flight mode - local noded = automobiles_lib.nodeatpos(airutils.pos_shift(self.object:get_pos(),{y=-4})) + local noded = airutils.nodeatpos(airutils.pos_shift(self.object:get_pos(),{y=-4})) if (noded and noded.drawtype ~= 'airlike') then --avoid liquids if noded.drawtype == 'liquid' then