diff --git a/automobiles_lib/entities.lua b/automobiles_lib/entities.lua index 31d090b..67df679 100644 --- a/automobiles_lib/entities.lua +++ b/automobiles_lib/entities.lua @@ -80,7 +80,7 @@ function automobiles_lib.on_rightclick (self, clicker) --a passenger if (automobiles_lib.is_minetest and not player_api.player_attached[name]) or - (airutils.is_mcl and not mcl_player.player_attached[name]) then + (automobiles_lib.is_mcl and not mcl_player.player_attached[name]) then --there is no passenger, so lets attach if self.driver_name then local attach_pax_f = automobiles_lib.attach_pax