mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 14:50:44 +00:00
Quickfix: Disable nations in ranked and change map selection (#2957)
## Description: Quickfix: Disable nations in ranked and change map selection (Lewis wanted these, Australia three times so it occurs more often) Just a quickfix, we will probably have to improve the map selection later on, and maybe play on non-compact maps too? ## Please complete the following: - [X] I have added screenshots for all UI updates - [X] I process any text displayed to the user through translateText() and I've added it to the en.json file - [X] I have added relevant tests to the test directory - [X] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: FloPinguin
This commit is contained in:
@@ -144,12 +144,11 @@ export class MapPlaylist {
|
||||
}
|
||||
|
||||
public get1v1Config(): GameConfig {
|
||||
const ffaMaps = [
|
||||
const maps = [
|
||||
GameMapType.Iceland,
|
||||
GameMapType.World,
|
||||
GameMapType.EuropeClassic,
|
||||
GameMapType.Australia,
|
||||
GameMapType.FaroeIslands,
|
||||
GameMapType.Australia,
|
||||
GameMapType.Australia,
|
||||
GameMapType.Pangaea,
|
||||
GameMapType.Italia,
|
||||
GameMapType.FalklandIslands,
|
||||
@@ -158,7 +157,7 @@ export class MapPlaylist {
|
||||
return {
|
||||
donateGold: false,
|
||||
donateTroops: false,
|
||||
gameMap: ffaMaps[Math.floor(Math.random() * ffaMaps.length)],
|
||||
gameMap: maps[Math.floor(Math.random() * maps.length)],
|
||||
maxPlayers: 2,
|
||||
gameType: GameType.Public,
|
||||
gameMapSize: GameMapSize.Compact,
|
||||
@@ -169,7 +168,7 @@ export class MapPlaylist {
|
||||
maxTimerValue: 10, // 10 minutes
|
||||
instantBuild: false,
|
||||
randomSpawn: false,
|
||||
disableNations: false,
|
||||
disableNations: true,
|
||||
gameMode: GameMode.FFA,
|
||||
bots: 100,
|
||||
spawnImmunityDuration: 5 * 10,
|
||||
|
||||
Reference in New Issue
Block a user