mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-26 07:24:36 +00:00
Better
This commit is contained in:
@@ -156,7 +156,7 @@ export class MapPlaylist {
|
||||
const maxAttempts = 6;
|
||||
let attempts = 0;
|
||||
|
||||
do {
|
||||
while (true) {
|
||||
const map = this.tryFirstMap(type);
|
||||
const config = await this.buildConfig(type, map);
|
||||
attempts++;
|
||||
@@ -167,7 +167,7 @@ export class MapPlaylist {
|
||||
}
|
||||
|
||||
this.firstMapToLast(type);
|
||||
} while (true); // eslint-disable-line no-constant-condition
|
||||
}
|
||||
}
|
||||
|
||||
private async buildConfig(
|
||||
|
||||
Reference in New Issue
Block a user