mirror of
https://github.com/APercy/automobiles_pck
synced 2025-06-15 13:28:02 +02:00
fix undesired dependency
This commit is contained in:
parent
48b5ec897b
commit
b71108b7df
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user