mirror of
https://github.com/APercy/automobiles_pck
synced 2025-06-16 05:48:02 +02:00
Merge pull request #38 from cyberplant/patch-1
Fixed condition for mineclonia
This commit is contained in:
commit
9fcb4b55db
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user