Skip to content

Commit

Permalink
fix(settings): swapped variable order
Browse files Browse the repository at this point in the history
Locale was moved.
  • Loading branch information
thelindat committed Apr 20, 2024
1 parent b9452f9 commit 1964402
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resource/settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ RegisterCommand('ox_lib', function()

if not input then return end

---@type string, string, boolean
local locale, notification_position, notification_audio = table.unpack(input)
---@type boolean, string, string
local notification_audio, notification_position, locale = table.unpack(input)

if set('locale', locale) then lib.setLocale(locale) end

Expand Down

0 comments on commit 1964402

Please sign in to comment.