fix beatsaver map causing page to not load if it's unknown
This commit is contained in:
@ -33,6 +33,9 @@ export default class BeatSaverService {
|
||||
unknownMap: true,
|
||||
}
|
||||
);
|
||||
if (map.unknownMap) {
|
||||
return undefined;
|
||||
}
|
||||
return map.toObject() as BeatSaverMap;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user