|
|
@@ -648,7 +648,7 @@ function N2C_GetVideoShowData(msg)
|
|
|
local videoArr = AreaBattleDB.GetSrvVideoShowData(videoSecondIdx)
|
|
|
-- msgData.videoShowData = videoArr
|
|
|
|
|
|
- for _, v in ipairs(videoArr) do
|
|
|
+ for _, v in ipairs(videoArr or {}) do
|
|
|
if (v.atkData and v.atkData.uuid == msg.playerUuid) or (v.defenerData and v.defenerData.uuid == msg.playerUuid) then
|
|
|
table.insert(msgData.videoShowData, 1, v)
|
|
|
else
|