Skip to content

Commit

Permalink
refactor(client/character): revert changes to nationalities
Browse files Browse the repository at this point in the history
  • Loading branch information
solareon committed Dec 1, 2024
1 parent 51d795a commit f82fc05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/character.lua
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,10 @@ local randomPeds = {
local nationalities = {}

if config.characters.limitNationalities then
local nationalityList = lib.load('data.nationalities')
CreateThread(function()
for i = 1, #config.characters.nationalities do
nationalities[#nationalities + 1] = {value = config.characters.nationalities[i]}
for i = 1, #nationalityList do
nationalities[#nationalities + 1] = { value = nationalityList[i] }
end
end)
end
Expand Down

0 comments on commit f82fc05

Please sign in to comment.