diff --git a/exec/load/chateng.js b/exec/load/chateng.js index 20b113acb1eb94ddd73da415f8bf36bf6050617a..9affa6d20248082df45f4a018f564e081a20feed 100644 --- a/exec/load/chateng.js +++ b/exec/load/chateng.js @@ -21,7 +21,6 @@ function Chat(Engine) { while(1) { - Engine.Cycle(); var key=console.inkey(K_NOCRLF|K_NOSPIN|K_NOECHO,25); if(!Engine.ProcessKey(key)) return; } @@ -92,6 +91,7 @@ function ChatEngine(root,name,log_) } this.ProcessKey=function(key) { + this.Cycle(); switch(key.toUpperCase()) { case 'Q':