mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-13 20:19:59 +00:00
Added Mars. Excluded from public lobby playlist. Changed Africa image background to transparent.
This commit is contained in:
@@ -83,7 +83,10 @@ export class GameManager {
|
||||
return this.mapsPlaylist.shift();
|
||||
}
|
||||
while (true) {
|
||||
this.mapsPlaylist = Object.values(GameMapType);
|
||||
const ignoreMaps = ["Mars"];
|
||||
this.mapsPlaylist = Object.values(GameMapType).filter(
|
||||
(map) => !ignoreMaps.includes(map),
|
||||
);
|
||||
this.mapsPlaylist.push(GameMapType.World);
|
||||
this.mapsPlaylist.push(GameMapType.Europe);
|
||||
this.random.shuffleArray(this.mapsPlaylist);
|
||||
|
||||
Reference in New Issue
Block a user