Skip to content
This repository has been archived by the owner on Mar 21, 2022. It is now read-only.

Commit

Permalink
improvements(client): Fix nil value; overhauled most of the character…
Browse files Browse the repository at this point in the history
… selection and spawning logic
  • Loading branch information
thelindat committed Jun 27, 2021
1 parent 7332a64 commit b081008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ elseif ESX.GetConfig().Multichar == true then
if result then
local varchar, varsize = {}, 0
for k, v in pairs(result) do
if v.CHARACTER_MAXIMUM_LENGTH < 60 then varchar[v.TABLE_NAME] = v.COLUMN_NAME varsize = varsize+1 end
if v.CHARACTER_MAXIMUM_LENGTH and v.CHARACTER_MAXIMUM_LENGTH >= 40 and v.CHARACTER_MAXIMUM_LENGTH < 60 then varchar[v.TABLE_NAME] = v.COLUMN_NAME varsize = varsize+1 end
table.insert(IdentifierTables, {table = v.TABLE_NAME, column = v.COLUMN_NAME})
end
if next(varchar) then
Expand Down

0 comments on commit b081008

Please sign in to comment.