mirror of
https://ghproxy.com/https://github.com/StreakingMan/solvable-sheep-game
synced 2026-07-29 18:16:41 +08:00
chore: 背景音乐音量调整、README.md徽章
This commit is contained in:
+1
-1
@@ -165,7 +165,7 @@ const App: FC = () => {
|
||||
useEffect(() => {
|
||||
if (!bgmRef.current) return;
|
||||
if (bgmOn) {
|
||||
bgmRef.current.volume = 0.15;
|
||||
bgmRef.current.volume = 0.5;
|
||||
bgmRef.current.play();
|
||||
} else {
|
||||
bgmRef.current?.pause();
|
||||
|
||||
Reference in New Issue
Block a user