2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-26 20:00:53 +01:00

engine: common: host: don't prepend # to command arguments when changing game to dedicated, it wasn't used and implement anymore

This commit is contained in:
Alibek Omarov 2022-12-08 05:44:17 +03:00
parent e48133bf4b
commit d50ed1c087

View File

@ -345,7 +345,7 @@ void Host_ChangeGame_f( void )
} }
else else
{ {
const char *arg1 = va( "%s%s", (host.type == HOST_NORMAL) ? "" : "#", Cmd_Argv( 1 )); const char *arg1 = va( "%s", Cmd_Argv( 1 ));
const char *arg2 = va( "change game to '%s'", FI->games[i]->title ); const char *arg2 = va( "change game to '%s'", FI->games[i]->title );
Host_NewInstance( arg1, arg2 ); Host_NewInstance( arg1, arg2 );