收口聊天室安全边界并优化特效生命周期
This commit is contained in:
@@ -167,8 +167,8 @@
|
||||
}
|
||||
this.restoreVideoDOM();
|
||||
|
||||
if (typeof EffectManager !== 'undefined' && typeof EffectManager.audioManager !== 'undefined') {
|
||||
EffectManager.audioManager.sounds.gold_received?.play().catch(()=>{});
|
||||
if (typeof EffectSounds !== 'undefined') {
|
||||
EffectSounds.ding();
|
||||
}
|
||||
},
|
||||
|
||||
@@ -308,8 +308,8 @@
|
||||
}
|
||||
|
||||
// 播放到账特定金币音效
|
||||
if (typeof EffectManager !== 'undefined' && typeof EffectManager.audioManager !== 'undefined') {
|
||||
EffectManager.audioManager.sounds.gold_received?.play().catch(()=>{});
|
||||
if (typeof EffectSounds !== 'undefined') {
|
||||
EffectSounds.ding();
|
||||
}
|
||||
|
||||
if (data.level_up) {
|
||||
|
||||
Reference in New Issue
Block a user