mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 15:36:18 +00:00
🆙 Update Rare-Value page and fix the loading of the json
This commit is contained in:
@@ -65,7 +65,9 @@ const useSoundboardState = () =>
|
||||
if(!enabled || serverSounds.length || fileLoadStartedRef.current) return;
|
||||
fileLoadStartedRef.current = true;
|
||||
|
||||
const url = GetConfigurationValue<string>('soundboard.sounds.url') || 'configuration/soundboard-sounds.json5';
|
||||
const url = GetConfigurationValue<string>('soundboard.url')
|
||||
|| GetConfigurationValue<string>('soundboard.sounds.url')
|
||||
|| 'configuration/soundboard-sounds.json5';
|
||||
|
||||
(async () =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user