refactor(locale): set default locale in settings

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

No files matched your search

-2
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)