Browse Source

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

pull/2/head
Alibek Omarov 2 years ago
parent
commit
d50ed1c087
  1. 2
      engine/common/host.c

2
engine/common/host.c

@ -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 );

Loading…
Cancel
Save