mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-29 07:12:20 +00:00
CLIENT: (Hack) use different protocol name for emscripten
This commit is contained in:
parent
987628e791
commit
3472c06043
1 changed files with 4 additions and 0 deletions
|
@ -80,6 +80,10 @@ noref void(float apiver, string enginename, float enginever) CSQC_Init =
|
|||
else
|
||||
platform_is_web = false;
|
||||
|
||||
if (platform_is_web) {
|
||||
cvar_set("com_protocolname", "NZP-REBOOT-WEB");
|
||||
}
|
||||
|
||||
//print("CSQC Started\n");
|
||||
dummy = spawn();
|
||||
if(serverkey("constate") == "disconnected")
|
||||
|
|
Loading…
Reference in a new issue