From d50ed1c087be28d9e2564811949f3a3d50133b2c Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Thu, 8 Dec 2022 05:44:17 +0300 Subject: [PATCH] engine: common: host: don't prepend # to command arguments when changing game to dedicated, it wasn't used and implement anymore --- engine/common/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/host.c b/engine/common/host.c index b129b92a..13a12e38 100644 --- a/engine/common/host.c +++ b/engine/common/host.c @@ -345,7 +345,7 @@ void Host_ChangeGame_f( void ) } 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 ); Host_NewInstance( arg1, arg2 );