From 196440250b1c1760824c0652d77270ca694f878c Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Sun, 21 Apr 2024 01:54:40 +1000 Subject: [PATCH] fix(settings): swapped variable order Locale was moved. --- resource/settings.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resource/settings.lua b/resource/settings.lua index 38a11b3..ccc7071 100644 --- a/resource/settings.lua +++ b/resource/settings.lua @@ -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