进入游戏动画
This commit is contained in:
@@ -180,3 +180,12 @@ function thumbSVG(it){
|
||||
`<circle cx="50" cy="50" r="46" fill="none" stroke="${tcol}" stroke-width="2.5" opacity=".9"/>`+
|
||||
`</svg>`;
|
||||
}
|
||||
|
||||
// ---------- 全局音效开关(与 world.html 设置面板共用) ----------
|
||||
function loadWorldSFXSetting() {
|
||||
try { return localStorage.getItem('world_sfx_enabled') !== 'false'; }
|
||||
catch (e) { return true; }
|
||||
}
|
||||
function saveWorldSFXSetting(enabled) {
|
||||
try { localStorage.setItem('world_sfx_enabled', enabled ? 'true' : 'false'); } catch (e) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user