fix variable error

This commit is contained in:
Alexsandro Percy 2024-03-12 20:46:09 -03:00
parent 9d49162b9d
commit 67b98f02c4
1 changed files with 1 additions and 1 deletions

View File

@ -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()