Fixed getTestRunStarters

This commit is contained in:
Wlowscha 2025-09-03 22:25:22 +02:00
parent 2e13eb45f5
commit 8275023439
No known key found for this signature in database
GPG Key ID: 3C8F1AD330565D04

View File

@ -62,7 +62,7 @@ export function generateStarters(scene: BattleScene, speciesIds: SpeciesId[]): S
}
function getTestRunStarters(seed: string, speciesIds: SpeciesId[]): Starter[] {
if (!speciesIds) {
if (!speciesIds || !speciesIds.length) {
return getDailyRunStarters(seed);
}
const starters: Starter[] = [];