Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
Fix missing enter interior when using target.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunar-Scripts committed Sep 16, 2023
1 parent 1f49899 commit ab73fda
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,16 @@ for index, data in ipairs(Config.Garages) do
args = index,
onSelect = openGarage
},
{
label = locale('enter_interior'),
icon = 'right-to-bracket',
job = data.Jobs,
args = index,
canInteract = function()
return data.Interior ~= nil
end,
onSelect = EnterInterior
},
{
label = locale('save_vehicle'),
icon = 'floppy-disk',
Expand Down

0 comments on commit ab73fda

Please sign in to comment.