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:
@@ -71,7 +71,7 @@ namespace Content.Server.GameTicking
|
||||
DefaultMap = _mapManager.CreateMap();
|
||||
_mapManager.AddUninitializedMap(DefaultMap);
|
||||
var startTime = _gameTiming.RealTime;
|
||||
var maps = new List<GameMapPrototype>() { _gameMapManager.GetSelectedMapChecked(true) };
|
||||
var maps = new List<GameMapPrototype>() { _gameMapManager.GetSelectedMapChecked(true, true) };
|
||||
|
||||
// Let game rules dictate what maps we should load.
|
||||
RaiseLocalEvent(new LoadingMapsEvent(maps));
|
||||
|
||||
Reference in New Issue
Block a user