mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-24 03:48:37 +00:00
refactor(init): type-fixes and minor adjustments
This commit is contained in:
1 parent
26538b8148
commit
32e2da2d8f
3 files changed
+41
-24
No files matched your search
@@ -16,7 +16,7 @@ end
|
||||
|
||||
function lib.loadLocale(locale)
|
||||
if not locale then
|
||||
locale = lib.service == 'server' and lib.getServerLocale() or GetExternalKvpString('ox_lib', 'locale') or 'en'
|
||||
locale = lib.context == 'server' and lib.getServerLocale() or GetExternalKvpString('ox_lib', 'locale') or 'en'
|
||||
end
|
||||
|
||||
local resourceName = GetCurrentResourceName()
|
||||
|
||||
Reference in new issue
Block a user