refactor(locale): set default locale in settings

This commit is contained in:
Linden
2024-04-16 05:33:35 +10:00
parent 6de82c3d6e
commit 01770187bc
2 changed files with 1 additions and 3 deletions

View File

@@ -27,6 +27,4 @@ RegisterNUICallback('init', function(_, cb)
})
end)
if not settings.locale then lib.setLocale(GetConvar('ox:locale', 'en')) end
lib.locale(settings.locale)