Fixed #7, @music.stop does not stop music
This commit is contained in:
parent
7733e814d2
commit
b74fee0383
|
@ -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
|
||||
|
||||
|
|
|
@ -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.
Loading…
Reference in New Issue