From 67b98f02c4a2aea1aee7ebdc4dd00f62671f3200 Mon Sep 17 00:00:00 2001 From: Alexsandro Percy Date: Tue, 12 Mar 2024 20:46:09 -0300 Subject: [PATCH] fix variable error --- lib_planes/entities.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_planes/entities.lua b/lib_planes/entities.lua index db33e25..d7251c8 100644 --- a/lib_planes/entities.lua +++ b/lib_planes/entities.lua @@ -227,7 +227,7 @@ function airutils.logic(self) --test collision airutils.testImpact(self, velocity, curr_pos) - if ent._autoflymode == true then airutils.seats_update(self) end + if self._autoflymode == true then airutils.seats_update(self) end if player then local ctrl = player:get_player_control()