Fixed condition for mineclonia

This commit is contained in:
Luar Roji 2025-05-13 03:08:39 -03:00
parent c2aa272daf
commit 94e04466fc

View File

@ -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 mcl_player.player_attached[name]) then
(airutils.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