Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Commit bfbfb8e

Browse files
committed
fix(content): Music volume check flipped #1741
The original interface data here uses 0 as max and 4 as off, despite displaying it reverse.
1 parent 0a606a3 commit bfbfb8e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

data/src/scripts/music/scripts/music.rs2

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,15 @@ if (p_finduid(uid) = true) {
2323
}
2424

2525
[proc,midi_jingle](string $jingle, int $length)
26-
if (%music_volume = 0) {
26+
if (%music_volume = 4) {
27+
// off
2728
return;
2829
}
2930
midi_jingle($jingle, $length);
3031

3132
[proc,midi_song](string $song)
32-
if (%music_volume = 0) {
33+
if (%music_volume = 4) {
34+
// off
3335
return;
3436
}
3537
midi_song($song);

0 commit comments

Comments
 (0)