From e1898336977c282a5e0443c01b42ba1114ba015e Mon Sep 17 00:00:00 2001 From: James R Date: Thu, 10 Oct 2019 11:07:34 -0700 Subject: [PATCH] Fix minor unnecessary call --- src/d_netcmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index 577dd403..d8c335e8 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -2347,12 +2347,12 @@ static void Command_Map_f(void) G_SetGameModified(false, true); } - arg_gametype = COM_Argv(parm_gametype + 1); - // new gametype value // use current one by default if (parm_gametype) { + arg_gametype = COM_Argv(parm_gametype + 1); + for (i = 0; gametype_cons_t[i].strvalue; i++) if (!strcasecmp(gametype_cons_t[i].strvalue, arg_gametype)) {