mirror of
https://github.com/APercy/automobiles_pck
synced 2025-08-01 11:05:50 +02:00
fix
This commit is contained in:
parent
f38a33685c
commit
87a5ae0e7f
@ -729,8 +729,8 @@ minetest.register_entity("automobiles_buggy:buggy", {
|
|||||||
buggy.driver_formspec(name)
|
buggy.driver_formspec(name)
|
||||||
else
|
else
|
||||||
if name == self.owner then
|
if name == self.owner then
|
||||||
if clicker:get_player_control().sneak == true then
|
if clicker:get_player_control().aux1 == true then
|
||||||
automobiles_lib.show_vehicle_trunk_formspec(self, clicker, 8)
|
automobiles_lib.show_vehicle_trunk_formspec(self, clicker, buggy.trunk_slots)
|
||||||
else
|
else
|
||||||
--is the owner, okay, lets attach
|
--is the owner, okay, lets attach
|
||||||
automobiles_lib.attach_driver(self, clicker)
|
automobiles_lib.attach_driver(self, clicker)
|
||||||
|
@ -757,8 +757,8 @@ minetest.register_entity("automobiles_coupe:coupe", {
|
|||||||
coupe.driver_formspec(name)
|
coupe.driver_formspec(name)
|
||||||
else
|
else
|
||||||
if name == self.owner then
|
if name == self.owner then
|
||||||
if clicker:get_player_control().sneak == true then
|
if clicker:get_player_control().aux1 == true then
|
||||||
automobiles_lib.show_vehicle_trunk_formspec(self, clicker, 8)
|
automobiles_lib.show_vehicle_trunk_formspec(self, clicker, coupe.trunk_slots)
|
||||||
else
|
else
|
||||||
--is the owner, okay, lets attach
|
--is the owner, okay, lets attach
|
||||||
automobiles_lib.attach_driver(self, clicker)
|
automobiles_lib.attach_driver(self, clicker)
|
||||||
|
@ -702,8 +702,8 @@ minetest.register_entity("automobiles_roadster:roadster", {
|
|||||||
roadster.driver_formspec(name)
|
roadster.driver_formspec(name)
|
||||||
else
|
else
|
||||||
if name == self.owner then
|
if name == self.owner then
|
||||||
if clicker:get_player_control().sneak == true then
|
if clicker:get_player_control().aux1 == true then
|
||||||
automobiles_lib.show_vehicle_trunk_formspec(self, clicker, 12)
|
automobiles_lib.show_vehicle_trunk_formspec(self, clicker, roadster.trunk_slots)
|
||||||
else
|
else
|
||||||
--is the owner, okay, lets attach
|
--is the owner, okay, lets attach
|
||||||
automobiles_lib.attach_driver(self, clicker)
|
automobiles_lib.attach_driver(self, clicker)
|
||||||
|
Loading…
Reference in New Issue
Block a user