From 3472c0604328042f37e69452218297dc0186cafc Mon Sep 17 00:00:00 2001 From: cypress Date: Sat, 2 Dec 2023 13:14:44 -0500 Subject: [PATCH] CLIENT: (Hack) use different protocol name for emscripten --- source/client/main.qc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/client/main.qc b/source/client/main.qc index a7e06c1..8547228 100644 --- a/source/client/main.qc +++ b/source/client/main.qc @@ -79,6 +79,10 @@ noref void(float apiver, string enginename, float enginever) CSQC_Init = platform_is_web = true; else platform_is_web = false; + + if (platform_is_web) { + cvar_set("com_protocolname", "NZP-REBOOT-WEB"); + } //print("CSQC Started\n"); dummy = spawn();