Dramatically decreasing the time for updates polling, that's because server will do the long poll on them anyway.

This commit is contained in:
marcins78
2013-01-08 12:24:13 +00:00
parent 1b9d93c774
commit 30b28a0a51
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ var ChatBoxUI = Class.extend({
maxMessageCount:500,
talkBoxHeight:25,
chatUpdateInterval:2000,
chatUpdateInterval:100,
playerListener:null,
hiddenClasses:null,

View File

@@ -916,7 +916,7 @@ var GameAnimations = Class.extend({
setTimeout(
function () {
that.game.updateGameState();
}, 1000);
}, 100);
if (!animate)
that.game.layoutUI(false);