Skip to content

Commit 7cebdf6

Browse files
committed
Add default values for c and e to prevent values not set crashing nbs
1 parent 94933cc commit 7cebdf6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/control_draw/control_draw.gml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,9 @@ function control_draw() {
449449
for (b = colfirst[xx]; b <= collast[xx]; b += 1) {
450450
if (song_exists[xx, b]) {
451451
a = 1
452+
c = 1
452453
d = 0
454+
e = 0
453455
if (b < endb2) {
454456
c = (layervol[b] /100) * song_vel[xx, b]
455457
if layerstereo[b] = 100 {

0 commit comments

Comments
 (0)