Skip to content

Commit ef939ad

Browse files
committed
chatmanager: move variable after condition
1 parent 9d61648 commit ef939ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

[managers]/chatmanager/chatManagerSettings.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ local function updateChatManagerSetting(chatManagerSettingKey)
7272
end
7373

7474
local chatManagerValue = get(chatManagerSettingKey)
75-
local chatManagerVariable = chatManagerSetting[1]
7675

7776
if (not chatManagerValue) then
7877
local chatManagerLog = "[chatManager]: Failed to retrieve setting key '"..chatManagerSettingKey.."'."
@@ -84,6 +83,7 @@ local function updateChatManagerSetting(chatManagerSettingKey)
8483
return false
8584
end
8685

86+
local chatManagerVariable = chatManagerSetting[1]
8787
local chatManagerFunction = chatManagerSetting[2]
8888

8989
if (chatManagerFunction) then

0 commit comments

Comments
 (0)