mirror of
https://github.com/mat-1/matdoesdev.git
synced 2025-08-02 06:36:04 +00:00
show question mark for a cyber's world
This commit is contained in:
parent
8d6c3608db
commit
3689182a7a
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
|||
'Garoad - Every Day Is Night',
|
||||
'Peppsen - Blueprint',
|
||||
'Epic Mountain - Stellar Engines',
|
||||
"Toby Fox - A CYBER'S WORLD",
|
||||
"Toby Fox - A CYBER'S WORLD?",
|
||||
'Toby Fox - Faint Glow',
|
||||
'Toby Fox - My Castle Town',
|
||||
]
|
||||
|
@ -47,7 +47,7 @@
|
|||
let currentSong_: string | null = null
|
||||
$: if (musicPlayerEl) {
|
||||
if (currentSong_ !== currentSong) {
|
||||
const newSrc = `/retro/music/${currentSong}.mp3`
|
||||
const newSrc = `/retro/music/${currentSong.replace(/\?/g, '')}.mp3`
|
||||
musicPlayerEl.src = newSrc
|
||||
musicPlayerEl.load()
|
||||
currentSong_ = currentSong
|
||||
|
|
Loading…
Add table
Reference in a new issue