Commit f82a57755a65d6d148a438aa65c6fb00c8ab79d9

Authored by liuzujun
1 parent 95182d53

去除重复领取剧情奖励报错 11402

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
src/actions/RoleAction.lua
... ... @@ -887,7 +887,10 @@ function _M.storyBookRewardRpc(agent, data)
887 887  
888 888 local status = (storyStatus[storyId] or {}).s
889 889  
890   - if status == -1 then return 2 end
  890 + if status == -1 then
  891 + SendPacket(actionCodes.Role_storyBookRewardRpc, "")
  892 + return true
  893 + end
891 894  
892 895 if not status or status ~= 1 then
893 896 --if storyBookData.unlockType == 1 and (role:getProperty("hangInfo").carbonId == tonumber(storyBookData.unlockData) or storyId == 1 or storyId == 2) then -- 挂机剧情正在挂机也可以领奖
... ...