mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-26 23:51:58 +00:00
Don't need to manually clear timers because this happens automatically when they expire
This was SVN commit r7922.
This commit is contained in:
@@ -98,7 +98,6 @@ function addChatMessage(msg)
|
||||
|
||||
function removeOldChatMessages()
|
||||
{
|
||||
clearTimeout(chatTimers[0]);
|
||||
chatTimers.shift();
|
||||
chatMessages.shift();
|
||||
getGUIObjectByName("chatText").caption = chatMessages.join("\n");
|
||||
|
||||
Reference in New Issue
Block a user