mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-25 13:21:32 +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
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue