mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-25 12:28:34 +00:00
fix(resource/settings): prevent locale update if userLocales is false (#741)
This commit is contained in:
1 parent
c397963e84
commit
c27a526045
1 file changed
+1
-1
@@ -99,7 +99,7 @@ RegisterCommand('ox_lib', function()
|
||||
---@type boolean, string, string
|
||||
local notification_audio, notification_position, locale = table.unpack(input)
|
||||
|
||||
if set('locale', locale) then lib.setLocale(locale) end
|
||||
if userLocales and set('locale', locale) then lib.setLocale(locale) end
|
||||
|
||||
set('notification_position', notification_position)
|
||||
set('notification_audio', notification_audio)
|
||||
|
||||
Reference in new issue
Block a user