about summary refs log tree commit diff
path: root/src/game/server/gs_game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/server/gs_game.cpp')
-rw-r--r--src/game/server/gs_game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/server/gs_game.cpp b/src/game/server/gs_game.cpp
index c94a1417..1f5456c3 100644
--- a/src/game/server/gs_game.cpp
+++ b/src/game/server/gs_game.cpp
@@ -121,6 +121,9 @@ void gameobject::cyclemap()
 	if(!strlen(config.sv_maprotation))
 		return;
 
+	if(round_count < config.sv_rounds_per_map-1)
+		return;
+		
 	// handle maprotation
 	const char *map_rotation = config.sv_maprotation;
 	const char *current_map = config.sv_map;