Fixed #7, @music.stop does not stop music

This commit is contained in:
nilllzz 2018-02-25 11:01:45 +01:00
parent 7733e814d2
commit b74fee0383
3 changed files with 6 additions and 1 deletions

View File

@ -183,6 +183,11 @@ Public Class MusicManager
MediaPlayer.Pause()
End Sub
Public Shared Sub [Stop]()
MediaPlayer.Stop()
_isIntroStarted = False
End Sub
Public Shared Sub ResumePlayback()
If Not _currentSong Is Nothing Then

View File

@ -25,7 +25,7 @@
Screen.Level.MusicLoop = argument
End If
Case "stop"
MusicManager.PlayNoMusic()
MusicManager.Stop()
Case "pause"
MusicManager.Pause()
Case "resume"

Binary file not shown.