Clear g_ChatTimers too in case the new /clear command is used from the session. Refs #3396.
This was SVN commit r17467.
This commit is contained in:
parent
4dbc9b8b1d
commit
25e6136786
@ -191,4 +191,11 @@ function clearChatMessages()
|
||||
{
|
||||
g_ChatMessages.length = 0;
|
||||
Engine.GetGUIObjectByName("chatText").caption = "";
|
||||
|
||||
try {
|
||||
for (let timer of g_ChatTimers)
|
||||
clearTimeout(timer);
|
||||
g_ChatTimers.length = 0;
|
||||
} catch (e) {
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user