Skip to content

Commit

Permalink
fix: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Nov 19, 2023
1 parent 95f1dad commit 3e46081
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,5 @@
28. [npwd]: chore: npwd update to version 1.8.6 @bitpredator
29. [bpt_deliveries]: chore: clean up the code @bitpredator
30. [esx-radialmenu]: chore: fix lint error + clean up the code @bitpredator
31. [esx-qalle-jail]: fix: fix lint error @bitpredator
31. [esx-qalle-jail]: fix: fix lint error @bitpredator
32. [esx_multicaracter]: fix: fix lint error @bitpredator
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ if ESX.GetConfig().Multichar then
end

function CharacterOptions(Characters, slots, SelectedCharacter)
local elements = {{title = _U('character', Characters[SelectedCharacter.value].firstname .. " ".. Characters[SelectedCharacter.value].lastname),icon = "fa-regular fa-user", unselectable = true},
local elements = {{title = _U('character', Characters[SelectedCharacter.value].firstname .. " ".. Characters[SelectedCharacter.value].lastname),icon = "fa-regular fa-user", unselectable = true},
{title = _U('return'), unselectable = false,icon = "fa-solid fa-arrow-left",description = _U('return_description'), action = "return"}}
if not Characters[SelectedCharacter.value].disabled then
if not Characters[SelectedCharacter.value].disabled then
elements[3] = {title = _U('char_play'), description = _U('char_play_description'), icon ="fa-solid fa-play",action = 'play', value = SelectedCharacter.value}
else
elements[3] = {title = _U('char_disabled'), value = SelectedCharacter.value, icon ="fa-solid fa-xmark", description = _U('char_disabled_description'),}
Expand Down

0 comments on commit 3e46081

Please sign in to comment.