recent-chat: fix probable lua error

This commit is contained in:
Sattva
2025-05-17 22:24:33 +03:00
parent 97cb4b6906
commit 8269878748
+1 -1
View File
@@ -13167,6 +13167,7 @@ function LeaPlusLC:Player()
-- only initialize once -- only initialize once
if not LeaPlusLC._RecentChatInit then if not LeaPlusLC._RecentChatInit then
local Close
LeaPlusLC._RecentChatInit = true LeaPlusLC._RecentChatInit = true
---------------------------------------- ----------------------------------------
@@ -13249,7 +13250,6 @@ function LeaPlusLC:Player()
-- Forward declare Close, ShowChatbox, ResizeEdit, ScrollToBottomReliable if needed, or define before use. -- Forward declare Close, ShowChatbox, ResizeEdit, ScrollToBottomReliable if needed, or define before use.
-- Close function needs to be defined before it's used by title bar, frame, scroll, and later editbox. -- Close function needs to be defined before it's used by title bar, frame, scroll, and later editbox.
local Close
local ShowChatbox local ShowChatbox
local ResizeEdit local ResizeEdit
local ScrollToBottomReliable local ScrollToBottomReliable