summaryrefslogtreecommitdiff
path: root/platform/javascript/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'platform/javascript/SCsub')
-rw-r--r--platform/javascript/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/SCsub b/platform/javascript/SCsub
index ab527ef419..e9ec531cc7 100644
--- a/platform/javascript/SCsub
+++ b/platform/javascript/SCsub
@@ -97,7 +97,7 @@ out_files = [
]
html_file = "#misc/dist/html/full-size.html"
if env["tools"]:
- subst_dict = {"\$GODOT_VERSION": env.GetBuildVersion()}
+ subst_dict = {"@GODOT_VERSION@": env.GetBuildVersion()}
html_file = env.Substfile(
target="#bin/godot${PROGSUFFIX}.html", source="#misc/dist/html/editor.html", SUBST_DICT=subst_dict
)