mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-16 09:01:41 +00:00
CLIENT: Set sv_listen_qw
off/on for emscripten
This commit is contained in:
parent
33749ba828
commit
8980f74830
1 changed files with 6 additions and 0 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue