summaryrefslogtreecommitdiff
path: root/game/www/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'game/www/index.html')
-rw-r--r--game/www/index.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/game/www/index.html b/game/www/index.html
index 6210bb7..3c1805e 100644
--- a/game/www/index.html
+++ b/game/www/index.html
@@ -82,11 +82,16 @@
Module.callMain(args)
}
+ function onRuntimeInitialized() {
+ outputLog('Loaded DungeonCrawl vBUILD_VERSION, built BUILD_DATE');
+ }
+
var Module = {
canvas,
print: outputLog,
printErr: errorLog,
noInitialRun: true,
+ onRuntimeInitialized,
};
</script>
<script src="game.js"></script>