做个容错
parent
9266d81377
commit
83f2a96c34
|
@ -18,6 +18,9 @@ end
|
||||||
|
|
||||||
function this.InitGroupIds(groupId)
|
function this.InitGroupIds(groupId)
|
||||||
local config = storyMapConfig[groupId]
|
local config = storyMapConfig[groupId]
|
||||||
|
if not config then
|
||||||
|
return
|
||||||
|
end
|
||||||
table.insert(this.groupConfigs,config)
|
table.insert(this.groupConfigs,config)
|
||||||
if config.NextId and config.NextId > 0 then
|
if config.NextId and config.NextId > 0 then
|
||||||
this.InitGroupIds(config.NextId)
|
this.InitGroupIds(config.NextId)
|
||||||
|
|
Loading…
Reference in New Issue