diff options
author | Florian Diebold <flodiebold@gmail.com> | 2011-10-28 18:49:07 +0200 |
---|---|---|
committer | Florian Diebold <flodiebold@gmail.com> | 2011-10-29 01:19:36 +0200 |
commit | 4aeefdb4d477be7c55cadf81809d73852cff19a9 (patch) | |
tree | 88095a4adb66de3f760176f5e465b423e244bd3d /crawl-ref/source/libunix.cc | |
parent | a85dba6281bb539ac0e00f9a87d85acb84a3aa9f (diff) | |
download | crawl-ref-4aeefdb4d477be7c55cadf81809d73852cff19a9.tar.gz crawl-ref-4aeefdb4d477be7c55cadf81809d73852cff19a9.zip |
Webtiles JS Modularization, part II.
This organizes the game-specific javascript into proper modules, and
converts all messages from Crawl to JS objects. This means that the
game javascript is now loaded asynchronically, which should fix the
browser hang when starting a game.
Diffstat (limited to 'crawl-ref/source/libunix.cc')
-rw-r--r-- | crawl-ref/source/libunix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc index deaee2afac..0e3c19c021 100644 --- a/crawl-ref/source/libunix.cc +++ b/crawl-ref/source/libunix.cc @@ -793,7 +793,7 @@ void delay(unsigned int time) { #ifdef USE_TILE_WEB tiles.redraw(); - tiles.send_message("delay(%d);", time); + tiles.send_message("{msg:'delay',t:%d}", time); #endif refresh(); |