初始化前BGM.getList会主动报错

This commit is contained in:
MrZ626
2021-01-04 21:54:57 +08:00
parent ccc40411ea
commit 44af9ede48

View File

@@ -1,6 +1,6 @@
local BGM={ local BGM={
default=false, default=false,
getList={}, getList=function()error("Can't getList before initialized!")end,
getCount=function()return 0 end, getCount=function()return 0 end,
play=NULL, play=NULL,
freshVolume=NULL, freshVolume=NULL,