Skip to content

Commit 1e3d92c

Browse files
authored
chore: new track by jumpy
1 parent a12aa47 commit 1e3d92c

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed
File renamed without changes.
3.96 MB
Binary file not shown.

react_main/src/audio/audioConfigs.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ export const mafiaMusicConfig: AudioEntry[] = [
4949
{ fileName: "music/NightFool", loop: true },
5050
{ fileName: "music/NightJoker", loop: true },
5151
{ fileName: "music/NightSiren", loop: true },
52-
{ fileName: "music/NightWarlock", loop: true },
52+
{ fileName: "music/NightFantasy", loop: true },
53+
{ fileName: "music/NightPolitic", loop: true },
5354
{ fileName: "music/NightClockmaker", loop: true },
5455
{ fileName: "music/NightPyromaniac", loop: true },
5556
{ fileName: "music/NightBird", loop: true },

react_main/src/pages/Game/MafiaGame.jsx

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,10 @@ export default function MafiaGame() {
194194
game.playAudio("music/NightSiren");
195195
break;
196196
case "Warlock":
197-
game.playAudio("music/NightWarlock");
197+
case "Monk":
198+
case "Fatalist":
199+
case "Prophet":
200+
game.playAudio("music/NightFantasy");
198201
break;
199202
case "Suitress":
200203
case "Mistress":
@@ -225,8 +228,6 @@ export default function MafiaGame() {
225228
case "Blob":
226229
case "Doppelgänger":
227230
case "Grey Goo":
228-
case "Prophet":
229-
case "Fatalist":
230231
game.playAudio("music/NightMystical");
231232
break;
232233
case "Egg":
@@ -237,6 +238,15 @@ export default function MafiaGame() {
237238
case "Falconer":
238239
game.playAudio("music/NightBird");
239240
break;
241+
case "Autocrat":
242+
case "Palladist":
243+
case "Anarchist":
244+
case "Communist":
245+
case "Dragoon":
246+
case "Emperor":
247+
case "Politician":
248+
game.playAudio("music/NightPolitic");
249+
break;
240250
default:
241251
if (currentAlignment === "Mafia") {
242252
// If mafia role isn't listed above the mafia track plays

0 commit comments

Comments
 (0)