diff --git a/platform/web/detect.py b/platform/web/detect.py index 5a55d02b538..e714837e194 100644 --- a/platform/web/detect.py +++ b/platform/web/detect.py @@ -330,3 +330,6 @@ def configure(env: "SConsEnvironment"): # This workaround creates a closure that prevents the garbage collector from freeing the WebGL context. # We also only use WebGL2, and changing context version is not widely supported anyway. env.Append(LINKFLAGS=["-sGL_WORKAROUND_SAFARI_GETCONTEXT_BUG=0"]) + + # Disable GDScript LSP (as the Web platform is not compatible with TCP). + env.Append(CPPDEFINES=["GDSCRIPT_NO_LSP"])