diff --git a/platform/javascript/SCsub b/platform/javascript/SCsub index 4fc832367..4809bfde8 100644 --- a/platform/javascript/SCsub +++ b/platform/javascript/SCsub @@ -27,7 +27,7 @@ javascript_files = [ ] if not env["disable_gles3"]: - javascript_files += "pandemonium_webgl2.cpp" + javascript_files.append("pandemonium_webgl2.cpp") sys_env = env.Clone() sys_env.AddJSLibraries(