Fixed startup crash with seasonal effects

This commit is contained in:
Leah 2024-03-04 18:47:47 +00:00 committed by Amelia Yukii
parent 2e55108b6b
commit eba0c2cc61
2 changed files with 27 additions and 21 deletions

View file

@ -155,7 +155,9 @@ export class SnowfallEffect {
max: 0.125,
easing: 0.0005,
};
/**
* @throws {Error} - Thrown when it fails to get WebGL context for the canvas
*/
constructor(options: {
sakura?: boolean;
}) {