Skip to content

Commit

Permalink
Fix PlayBGM SCTRL leaking to the character select screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazin3ss committed Oct 26, 2023
1 parent 15caf21 commit 426962c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script.go
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ func systemScriptInit(l *lua.LState) {
l.Push(lua.LNumber(winp))
l.Push(tbl)
if sys.playBgmFlg {
sys.bgm = *newBgm()
sys.bgm.Open("", 1, 100, 0, 0, 0)
sys.playBgmFlg = false
}
sys.clearAllSound()
Expand Down

0 comments on commit 426962c

Please sign in to comment.