File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export const replace: Action = (action: CardsCollectionItem['interactions'][0]['
1212 assert ( card !== undefined , 'Card not found!' )
1313
1414 if ( action . sound ) {
15- const audio = new Audio ( '/sounds/' + action . sound )
15+ const audio = new Audio ( '/LD57/ sounds/' + action . sound )
1616 audio . play ( )
1717 }
1818
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export const spawn: Action = (action: CardsCollectionItem['interactions'][0]['ac
1313 assert ( card !== undefined , 'Card not found!' )
1414
1515 if ( action . sound && ! action . instantSound ) {
16- const audio = new Audio ( '/sounds/' + action . sound )
16+ const audio = new Audio ( '/LD57/ sounds/' + action . sound )
1717
1818 if ( action . soundVolume ) {
1919 audio . volume = action . soundVolume
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export const trade: Action = (action: CardsCollectionItem['interactions'][0]['ac
99 assert ( baseCard . buyableAmount !== undefined , 'Action `trade` requires the base card to have a buyable amount!' )
1010
1111 if ( action . sound && ! action . instantSound ) {
12- const audio = new Audio ( '/sounds/' + action . sound )
12+ const audio = new Audio ( '/LD57/ sounds/' + action . sound )
1313 audio . play ( )
1414 }
1515
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export const useInteraction = (draggingCard: BoardCard) => {
5858 )
5959
6060 if ( action ) {
61- const audio = new Audio ( '/sounds/' + action . sound )
61+ const audio = new Audio ( '/LD57/ sounds/' + action . sound )
6262 audio . play ( )
6363 }
6464
You can’t perform that action at this time.
0 commit comments