CLIENT: Set sv_listen_qw off/on for emscripten

This commit is contained in:
cypress 2023-12-12 11:35:27 -05:00 committed by GitHub
parent 33749ba828
commit 8980f74830
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,6 +48,9 @@ void() menu_single =
time_in_menu = 0;
matchmake_enabled = false;
localcmd("sv_public 0\n");
if (platform_is_web)
localcmd("sv_listen_qw 0\n");
};
void() menu_create =
@ -62,6 +65,9 @@ void() menu_matchmake =
time_in_menu = 0;
matchmake_enabled = true;
localcmd("sv_public 2\n");
if (platform_is_web)
localcmd("sv_listen_qw 1\n");
};
void() menu_restart =