Skip to content

Commit 57c68c1

Browse files
ShalokShalomalfonsogarciacaro
authored andcommitted
1 parent b953725 commit 57c68c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

public/samples/games/undertone.fs

+3-3
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ module NoteSequencer =
236236
if wanted = 0 then Seq.empty else
237237
seq { use e = source.GetEnumerator()
238238
let count = ref 0
239-
while e.MoveNext() && !count < wanted do
240-
incr count
239+
while e.MoveNext() && count.Value < wanted do
240+
count.Value <- count.Value + 1
241241
yield e.Current }
242242

243243
// function that does a function the describes how a note should be played and list of chords
@@ -382,4 +382,4 @@ let baaBaaBlackSheepChorus =
382382
yield! makeNote crotchet Note.D
383383
yield! makeNote crotchet Note.C }
384384

385-
Html.loadSound baaBaaBlackSheepChorus
385+
Html.loadSound baaBaaBlackSheepChorus

0 commit comments

Comments
 (0)