整理代码

This commit is contained in:
MrZ626
2021-03-05 15:31:58 +08:00
parent 15ecee6767
commit 38f5ec6393
24 changed files with 41 additions and 40 deletions

View File

@@ -34,7 +34,7 @@ function BG.setDefault(bg)
end
function BG.set(background)
if not background then background=BG.default end
if not BGs[background]then LOG.print("No BGM file: "..background,10,COLOR.orange)end
if not BGs[background]then LOG.print("No BG file: "..background,10,COLOR.orange)end
if background==BG.cur or not SETTING.bg then return end
BG.discard()
BG.cur=background