几个音频模块和skin模块load附加必须先init的条件

This commit is contained in:
MrZ626
2021-07-18 23:33:45 +08:00
parent 06d34d8c55
commit 498a0ef7e8
6 changed files with 10 additions and 1 deletions

View File

@@ -2,6 +2,8 @@ local BGM={
default=false,
getList=function()error("Can't getList before initialized!")end,
getCount=function()return 0 end,
loadOne=function()error("Cannot load before init!")end,
loadAll=function()error("Cannot load before init!")end,
play=NULL,
freshVolume=NULL,
stop=NULL,