From 3e46081917827501dd721993ae868d2cd521ee93 Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Sun, 19 Nov 2023 19:23:31 +0100 Subject: [PATCH] fix: fix lint error --- .github/CHANGELOG.md | 3 ++- .../resources/[esx]/esx_multicharacter/client/main.lua | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index e06c98b2b..27f8beb56 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -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 \ No newline at end of file +31. [esx-qalle-jail]: fix: fix lint error @bitpredator +32. [esx_multicaracter]: fix: fix lint error @bitpredator \ No newline at end of file diff --git a/server-data/resources/[esx]/esx_multicharacter/client/main.lua b/server-data/resources/[esx]/esx_multicharacter/client/main.lua index 49f127442..00a2c980a 100644 --- a/server-data/resources/[esx]/esx_multicharacter/client/main.lua +++ b/server-data/resources/[esx]/esx_multicharacter/client/main.lua @@ -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'),}