Skip to content

Commit c94b8a2

Browse files
author
ShinkoNet
authored
Update dat_generate.gml
1 parent 74150bc commit c94b8a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/dat_generate/dat_generate.gml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ for (a = 0; a <= o.enda; a ++) {
1515
if (o.song_key[a, b] > 32 && o.song_key[a, b] < 58) {
1616
instrument = dat_instrument(ds_list_find_index(other.instrument_list, o.song_ins[a, b]))
1717
pitch = dat_pitch(o.song_key[a, b])
18-
blockvolume = o.layervol[b]/100
18+
blockvolume = o.layervol[b]/100
1919

2020
//Add command to result
2121
if(o.dat_enableradius) str += "execute at @s[scores={"+objective+"="+string(tick)+"}] run playsound "+ instrument +" "+source+" @a ~ ~ ~ " + string(o.dat_radiusvalue) + " " + string(pitch) + br
@@ -27,4 +27,4 @@ for (a = 0; a <= o.enda; a ++) {
2727
tick += o.dat_tempo
2828
}
2929
str += "execute if score @s "+objective+" matches "+string(tick)+" run function "+ name +":stop"
30-
return str
30+
return str

0 commit comments

Comments
 (0)