summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libunix.cc
diff options
context:
space:
mode:
authorFlorian Diebold <flodiebold@gmail.com>2011-10-28 18:49:07 +0200
committerFlorian Diebold <flodiebold@gmail.com>2011-10-29 01:19:36 +0200
commit4aeefdb4d477be7c55cadf81809d73852cff19a9 (patch)
tree88095a4adb66de3f760176f5e465b423e244bd3d /crawl-ref/source/libunix.cc
parenta85dba6281bb539ac0e00f9a87d85acb84a3aa9f (diff)
downloadcrawl-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.cc2
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();