summaryrefslogtreecommitdiff
path: root/misc/dist/html
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-05-10 21:57:07 +0200
committerGitHub <noreply@github.com>2018-05-10 21:57:07 +0200
commita415efa4b749da90c86db5ac4664491e2ee125dd (patch)
tree7cae2c9f71138c532c908763982abba926d097db /misc/dist/html
parent2766050c532c7a93957e35cd1e70852b322b6de7 (diff)
parent96f907c023b687206df6233be383d724e2810088 (diff)
Merge pull request #18765 from eska014/enginejs-extalt
Facilitate using non-default filename extensions in HTML5 platform
Diffstat (limited to 'misc/dist/html')
-rw-r--r--misc/dist/html/default.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/dist/html/default.html b/misc/dist/html/default.html
index 4aa9347fec..14766e8239 100644
--- a/misc/dist/html/default.html
+++ b/misc/dist/html/default.html
@@ -229,7 +229,7 @@ $GODOT_HEAD_INCLUDE
(function() {
- const BASENAME = '$GODOT_BASENAME';
+ const MAIN_PACK = '$GODOT_BASENAME.pck';
const DEBUG_ENABLED = $GODOT_DEBUG_ENABLED;
const INDETERMINATE_STATUS_STEP_MS = 100;
@@ -380,7 +380,7 @@ $GODOT_HEAD_INCLUDE
} else {
setStatusMode('indeterminate');
engine.setCanvas(canvas);
- engine.startGame(BASENAME + '.pck').then(() => {
+ engine.startGame(MAIN_PACK).then(() => {
setStatusMode('hidden');
initializing = false;
}, displayFailureNotice);