mirror of
https://github.com/APercy/ap_airship.git
synced 2025-03-15 07:51:20 +00:00
Update control.lua
removed reference to automobiles
This commit is contained in:
parent
8915d062f3
commit
e0f05609f7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue