mirror of
https://github.com/APercy/airutils.git
synced 2025-07-13 09:51:55 -04:00
fix non existent variables
This commit is contained in:
parent
97abe243d3
commit
c06bda3fcc
3 changed files with 4 additions and 3 deletions
|
@ -304,7 +304,7 @@ function airutils.logic(self)
|
|||
--special routine for automated plane
|
||||
if extern_ent then
|
||||
if not extern_ent.on_rightclick then
|
||||
local touch_point = self.initial_properties.collisionbox[2]-0.5
|
||||
local touch_point = (self.initial_properties.collisionbox[2])-0.5
|
||||
local node_bellow = airutils.nodeatpos(airutils.pos_shift(curr_pos,{y=touch_point}))
|
||||
--minetest.chat_send_all(dump(node_bellow.drawtype))
|
||||
if (node_bellow and node_bellow.drawtype ~= 'airlike') then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue