mirror of
https://github.com/APercy/automobiles_pck
synced 2025-08-22 21:05:49 +02:00
issue #29
This commit is contained in:
parent
8a3d783fe4
commit
ffc684f3e0
@ -75,9 +75,11 @@ end
|
|||||||
function delorean.set_mode(self, is_attached, curr_pos, velocity, player, dtime)
|
function delorean.set_mode(self, is_attached, curr_pos, velocity, player, dtime)
|
||||||
if self._car_type == 1 then
|
if self._car_type == 1 then
|
||||||
local ent_properties = self.normal_kit:get_properties()
|
local ent_properties = self.normal_kit:get_properties()
|
||||||
|
if ent_properties then
|
||||||
if ent_properties.mesh ~= "automobiles_delorean_time_machine_accessories.b3d" then
|
if ent_properties.mesh ~= "automobiles_delorean_time_machine_accessories.b3d" then
|
||||||
delorean.set_kit(self)
|
delorean.set_kit(self)
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
if is_attached == true then
|
if is_attached == true then
|
||||||
self.instruments:set_properties(
|
self.instruments:set_properties(
|
||||||
|
Loading…
Reference in New Issue
Block a user