fix undesired dependency

This commit is contained in:
Alexsandro Percy 2025-06-05 15:32:39 -03:00 committed by GitHub
parent 48b5ec897b
commit b71108b7df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,7 +80,7 @@ function automobiles_lib.on_rightclick (self, clicker)
--a passenger --a passenger
if (automobiles_lib.is_minetest and not player_api.player_attached[name]) or 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 --there is no passenger, so lets attach
if self.driver_name then if self.driver_name then
local attach_pax_f = automobiles_lib.attach_pax local attach_pax_f = automobiles_lib.attach_pax