summaryrefslogtreecommitdiff
path: root/src/game/g_svcmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_svcmds.c')
-rw-r--r--src/game/g_svcmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_svcmds.c b/src/game/g_svcmds.c
index 952c6801..c2d61ec3 100644
--- a/src/game/g_svcmds.c
+++ b/src/game/g_svcmds.c
@@ -249,7 +249,7 @@ Svcmd_LayoutLoad_f
layoutload [<name> [<name2> [<name3 [...]]]]
This is just a silly alias for doing:
- set g_layouts "name name2 name3"
+ set g_nextLayout "name name2 name3"
map_restart
===================
*/
@@ -266,7 +266,7 @@ static void Svcmd_LayoutLoad_f( void )
s = ConcatArgs( 1 );
Q_strncpyz( layouts, s, sizeof( layouts ) );
- trap_Cvar_Set( "g_layouts", layouts );
+ trap_Cvar_Set( "g_nextLayout", layouts );
G_PerformMapRestart();
}