mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-16 22:46:03 +01:00
fix(resource/settings): prevent locale update if userLocales is false (#741)
This commit is contained in:
@@ -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