diff --git a/Zframework/bg.lua b/Zframework/bg.lua index 908c98b2..63af4324 100644 --- a/Zframework/bg.lua +++ b/Zframework/bg.lua @@ -17,8 +17,8 @@ function BG.send(...) BG.event(...) end end -function BG.set(background) - if background==BG.cur or not SETTING.bg then return end +function BG.set(background,force) + if background==BG.cur or not(SETTING.bg or force)then return end BG.discard() background=BGlist[background] if not background then diff --git a/Zframework/init.lua b/Zframework/init.lua index df61209f..124f6c14 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -477,7 +477,7 @@ function love.run() else SCN.init("load") end - BG.set("none") + BG.set("none",true) return function() local _