Commit 1854b04d7ce6530a5402896ac27a470ec6f9848f

Authored by 熊润斐
2 parents 159d3731 91ef5b2f

Merge branch 'tr/bugfix-qa' into tr/bugfix

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
src/models/RolePlugin.lua
... ... @@ -1233,8 +1233,8 @@ function RolePlugin.bind(Role)
1233 1233 end
1234 1234 if done then
1235 1235 update = true
1236   - self:award(data.phase_award, {log = {desc = "seaportReward", int1 = set[1].phase, int2 = set[1].id}})
1237   - donate[id] = 1
  1236 + self:award(set[1].phase_award, {log = {desc = "seaportReward", int1 = set[1].phase, int2 = set[1].id}})
  1237 + donate[idx] = 1
1238 1238 end
1239 1239 end
1240 1240 seaport.donate = donate
... ... @@ -1323,7 +1323,7 @@ function RolePlugin.bind(Role)
1323 1323 donate = {}
1324 1324 }
1325 1325 end
1326   - self:setProperty("seaport",seaport)
  1326 + self:updateProperty({field = "seaport", value = seaport})
1327 1327 end
1328 1328 end
1329 1329  
... ...