diff --git a/src/Application/Maps/Systems/MapRotationSystem.cs b/src/Application/Maps/Systems/MapRotationSystem.cs index e013df4b..781a15dc 100644 --- a/src/Application/Maps/Systems/MapRotationSystem.cs +++ b/src/Application/Maps/Systems/MapRotationSystem.cs @@ -19,6 +19,24 @@ public void OnGameModeInit() mapRotationService.StartRotation(); } + [PlayerCommand("startrt")] + public void StartRotationTimer(Player player) + { + if (player.HasLowerRoleThan(RoleId.Moderator)) + return; + + mapRotationService.StartRotation(); + } + + [PlayerCommand("stoprt")] + public void StopRotationTimer(Player player) + { + if (player.HasLowerRoleThan(RoleId.Moderator)) + return; + + mapRotationService.StopRotation(); + } + [PlayerCommand("settimeleft")] public void SetTimeLeft(Player player, int minutes) {