Closed
Description
Describe the bug
When playing a song with looping is enabled in the editor, the editor always loop infinite times. The "Times to loop" song property is simply ignored, while the "Loop start tick" property is taken into account.
To Reproduce
Steps to reproduce the behavior:
- Open any song
- Make sure looping is enabled in the toolbar
- Go to Settings -> Song properties...
- Enable the song's looping and set its max loop count to a non-zero number
- Click OK
- Save the file
- Play the song
- See the song is looped infinitely
Expected behavior
The editor should loop the number of times specified in the song properties, with the exception of 0 (infinite).
Screenshots
The highlighted property is ignored by the program.
Additional context
Version: 3.10.0
OS: Windows 11 64-bit