Commit 31fd698a authored by Blazeflack's avatar Blazeflack

Fixed error in the ChatMaxLines tweak.

Reference: #91
parent 8e88c886
......@@ -45,9 +45,9 @@ function UpdateMaxLines()
--Re-display chat history since it was all cleared when calling :SetMaxLines
if E.db.chat.chatHistory then
self.SoundPlayed = true;
self:DisplayChatHistory()
self.SoundPlayed = nil;
CH.SoundPlayed = true;
CH:DisplayChatHistory()
CH.SoundPlayed = nil;
end
end
hooksecurefunc(CH, "Initialize", UpdateMaxLines)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment