move to linux
This commit is contained in:
@@ -293,7 +293,7 @@ function resolveCategory(manifest: OpenPeonManifest, category: Category): Catego
|
||||
|
||||
function pickSound(categoryConfig: CategoryConfig, category: Category): Sound | null {
|
||||
const sounds = categoryConfig.sounds;
|
||||
if (sounds.length === 0) return null;
|
||||
if (!sounds || sounds.length === 0) return null;
|
||||
|
||||
const lastSound = lastSoundPerCategory.get(category);
|
||||
let candidates = sounds;
|
||||
|
||||
Reference in New Issue
Block a user