From a5b53476d678830f5f71bbd9add396e29ab68721 Mon Sep 17 00:00:00 2001 From: Mycroft Date: Fri, 21 Oct 2022 10:31:58 +0100 Subject: [PATCH] fix(esx_multicharacter): slots should work now --- [esx]/esx_multicharacter/client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/[esx]/esx_multicharacter/client/main.lua b/[esx]/esx_multicharacter/client/main.lua index 840576b3..8dbeef6f 100644 --- a/[esx]/esx_multicharacter/client/main.lua +++ b/[esx]/esx_multicharacter/client/main.lua @@ -182,7 +182,7 @@ if ESX.GetConfig().Multichar then elements[#elements+1] = {title = label,icon = "fa-regular fa-user", value = v.id} end end - if #elements < slots then + if #elements - 1 < slots then elements[#elements+1] = {title = _('create_char'), icon = "fa-solid fa-plus", value = (#elements+1), new = true} end