parameter soundConfig is now optionnal
if user call mySound.play() the sound will be played with the base SoundConfig
This commit is contained in:
@@ -15,7 +15,7 @@ const isSoundConfig =
|
||||
export const isPlaySoundEvent =
|
||||
new tg.IsInterface().withProperties({
|
||||
url: tg.isString,
|
||||
config : isSoundConfig,
|
||||
config : tg.isOptional(isSoundConfig),
|
||||
}).get();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user