Adds support for a map rotation system. (#7162)

* Adds support for a map rotation system.
It is now the default way of selecting a map, map votes have been disabled.

* whoops

* Randomize the map it starts off with, too.
(it'd pick bagel every time otherwise)

* Address review

* remove knight from rotation due to it being an unmaintained map.

* minor cleanup
This commit is contained in:
Moony
2022-03-17 13:59:53 -05:00
committed by GitHub
parent afc0e3708e
commit 3721b3303b
5 changed files with 84 additions and 8 deletions

View File

@@ -56,7 +56,7 @@ public interface IGameMapManager
/// Gets the currently selected map, double-checking if it can be used.
/// </summary>
/// <returns>selected map</returns>
GameMapPrototype GetSelectedMapChecked(bool loud = false);
GameMapPrototype GetSelectedMapChecked(bool loud = false, bool markAsPlayed = false);
/// <summary>
/// Checks if the given map exists