微调LOG.print使用

This commit is contained in:
MrZ626
2020-09-17 20:49:08 +08:00
parent 43874a09db
commit d47629e64a
6 changed files with 12 additions and 8 deletions

View File

@@ -430,6 +430,10 @@ function BG.set(bg,data)
BG.discard()
collectgarbage()
end
if not back[bg]then
LOG.print("No BG called"..bg,"warn")
return
end
BG.cur=bg
bg=back[bg]