|
|
@@ -346,6 +346,10 @@ function IssueRewardManager()
|
|
|
local unionList = AnotherWorldBattleDB.GetUnionList()
|
|
|
local playerListData = AnotherWorldBattleDB.GetPlayerList()
|
|
|
|
|
|
+ if not unionList or not next(unionList) or not playerListData or not next(playerListData) then
|
|
|
+ return
|
|
|
+ end
|
|
|
+
|
|
|
for unionId, union in pairs(unionList) do
|
|
|
local occupyInfo = genUnionOccupyInfo(unionId, union, playerListData)
|
|
|
delay_sec = delay_sec + 5
|