diff options
Diffstat (limited to 'src/game/g_svcmds.c')
-rw-r--r-- | src/game/g_svcmds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/g_svcmds.c b/src/game/g_svcmds.c index 262f8744..952c6801 100644 --- a/src/game/g_svcmds.c +++ b/src/game/g_svcmds.c @@ -267,8 +267,7 @@ static void Svcmd_LayoutLoad_f( void ) s = ConcatArgs( 1 ); Q_strncpyz( layouts, s, sizeof( layouts ) ); trap_Cvar_Set( "g_layouts", layouts ); - trap_SendConsoleCommand( EXEC_APPEND, "map_restart\n" ); - level.restarted = qtrue; + G_PerformMapRestart(); } static void Svcmd_AdmitDefeat_f( void ) |